#apt-get install samba
#apt-get install smbfs
#mkdir /home/smb
#mkdir /home/smb/shared_folder
#useradd user1
#passwd user1
#mkdir /home/smb/user1
#chown -R user1:user1 /home/smb/user1
#smbpasswd -a user1
add to /etc/samba/smb.conf
[shared_folder] path = /home/smb/shared_folder public = yes writable = yes [user1] path = /home/smb/user1 valid users = user1 public = no writable = yes
#/etc/init.d/samba restart