LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
How would you rate the importance of default settings in security?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
Emily Ratliff: OS Security
DanWalsh LiveJournal
Security Bloggers Network
Latest Newsletters
Linux Advisory Watch: May 16th, 2008
Linux Security Week: May 13th, 2008
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Samba Security and Troubleshooting Print E-mail
User Rating:      How can I rate this item?
Source: Linux home networking - Posted by Bill Keys   
Network Security Configuring Samba for your office or home can provide many advantages. By encouraging users to store files on a central file server, you can simplify data backup and in some cases, software installation and maintenance.

Unfortunately, the initial configuration of Samba can be tricky. Many simple steps need to be executed in the correct order, and one small slip up can have big repercussions. This chapter explores the ways in which you can recover from those mistakes that you couldn't avoid. Do you thing about how can I make my share secure? When setting up Samba it alway important to make it secure. This article will show you how to setup a secure Samba share.

Read this full article at Linux home networking

Comments
Missing in article: file permissions andWritten by Frank Spierings on 2008-05-07 08:13:20
This article seems to be missing useful information about how to setup file permissions for different users etc. Also how to correctly mount smb shares on a multi-user (or multi-services under different accounts) linux system. I noticed after a few days of tinkering how important it is to make mount points user specific on linux clients.
ArticlesWritten by Mikde on 2008-05-07 08:46:46
Do you have any favorite articles about Samba security? I have a basic Samba share but I would like to improve it's security.
RE: ArticlesWritten by Frank Spierings on 2008-05-08 05:24:45
Sorry, don't have any specific article for you. Just figured most out for myself. 
Interesting points I found out for myself is that when running services (under user names other than root) on a linux box which should use a samba share, your best bet is to mount these shares for that specific service/user. 
Also, when mounting the shares pay attention to gid,uid, and masking properties (see mount.cifs man). This way you can make the share only writeable for a specific service/user. 
Don't try the chmod solutions for allowing/denying access, since these will never end up on the actual share anyway. 
Hope this helps steer you in the right direction.
ThanksWritten by Mike on 2008-05-08 10:14:20
Thank you for the tips.

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Personal verbal attacks will be deleted.
  • Please don't use comments to plug your web site.. Such material will be removed.
Name:
Title:
Comment:

Code:* Code

Powered by AkoComment!

 
< Prev   Next >
    
Partner:

 

Latest Features
Review: The Book of Wireless
April 2008 Open Source Tool of the Month: sudo
Open Source Tool of March: ZoneMinder
Meet the Anti-Nmap: PSAD
Open Source Tool of February: Nmap!
HowTo: Secure your Ubuntu Apache Web Server
SSH: Best Practices
Yesterday's Edition
Strong passwords no panacea as SSH Brute-Force Attacks Rise
Tools circulate that crack Debian, Ubuntu keys

QuickLinks: Comunity , HOWTOs , Blogs , Features , Book Reviews , Networking ,
  Security Projects ,   Latest News ,  Newsletters ,  SELinux ,  Privacy ,  Home,
 Hardening ,   About Us,   Advertise,   Legal Notice,   RSS,   Guardian Digital

(c)Copyright 2008 Guardian Digital, Inc. All rights reserved.