RE: [SLE] samba works but how to secure it
From: Albert (albert_at_fastworx.com)
Date: 09/05/05
- Previous message: C. Brouerius van Nidek: "Re: [SLE] extended ip6tables support disabled"
- In reply to: Mike Dewhirst: "[SLE] samba works but how to secure it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'Mike Dewhirst'" <miked@dewhirst.com.au>, <suse-linux-e@suse.com> Date: Mon, 5 Sep 2005 14:37:26 +0200
Hi Mike
>How do I secure it so it needs a password to gain access?
My /etc/samba/smb.conf looks like:
[SNIP]
# Global parameters
[global]
netbios name = FILE_SERVER
server string = FILE_SERVER
encrypt passwords = Yes
password level = 20
wins support = Yes
# Home directories of users on this linux machine
[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No
# Directory that everybody with a username on this linux machine can see
[data]
comment = Data (Global access)
path = /home/data
read only = No
guest ok = Yes
[/SNIP]
I used the following references to get it working:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id25
32665
http://www.troubleshooters.com/linux/samba.htm
To add a user I simply execute:
# useradd -d /home/mike mike
# passwd mike
# smbpasswd -a mike
I also enabled SWAT by editing /etc/inetd.conf and uncommenting the entry
for swat. Then restarting inetd by running rcinetd restart
My setup works for Windows XP and SuSE 8.0/9.1/9.2/9.3 machines. I'm running
Samba on SuSE 8.0 (Celeron 400 with 256MB RAM and 160GB hdd) but there
shouldn't be too many changes.
Albert
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 02/09/2005 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: C. Brouerius van Nidek: "Re: [SLE] extended ip6tables support disabled"
- In reply to: Mike Dewhirst: "[SLE] samba works but how to secure it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|