Pages

14 June 2009

Enable linux file sharing (open/no security)

Logon as root

aptitude install samba

edit (eg. nano, gedit) /etc/samba/smb.conf

workgroup = WORKGROUPNAME
security = share

[printers]
browsable = yes
guest ok = yes

[myshare1]
path = /sharing/myshare1
available = yes
browsable = yes
public = yes
writable = yes
guest ok = yes

then add users who can access your shares with the 'smbpasswd' command.

sudo smbpasswd -a username

New SMB password:
Retype new SMB password:
Added user username.

sudo smbpasswd -e username
Enabled user username.

Lastly,

/etc/init.d/samba restart

1 comment:

  1. lot of information here and easy to understand.. im new to debian(linux).. keep it up

    ReplyDelete