1. Create folder to share "Home/Documents/ToShare-FullAccess" "Home/Documents/ToShare-JustRead" 2. Install samba in Ubuntu Software Center 3. Open terminal as root 4. sudo apt-get install gnome-system-tools (Users and Groups configuracion) 5. Create samba guest user: "smbguest" (figure 1) 6. Go Advance in smbguest user (figure 2) 7. Manage Groups in smbguest user "double click group sambashare" (figure 3) 8. Add samba guest user - smbguest to sambaguest group (figure 4) 9. Check in terminal samba guest user group - smbguest "cat /etc/group;" (figure 5) cat /etc/group; tail /etc/group; cat /etc/group | grep is_derayo; cat /etc/group | grep mariofuentes; cat /etc/group | grep smbguest; 10. Check in terminal samba guest user /bin/false "cat /etc/passwd;" (figure 6) cat /etc/passwd; tail /etc/passwd; cat /etc/passwd | grep is_derayo; cat /etc/passwd | grep mariofuentes; cat /etc/passwd | grep smbguest; 11. Change smbguest user password (figure 7) 12. Launch Samba, Go Preferences, Server Settings (figure 8 & 9) 13. Go to Preferences, Samba Users & Add User (figure 10 & 11) 13. 1 Share folder created & authorize access to samba users (figures 12 & 13) 13. 2 Go Advanced Settings for the new user - ID less than 1000 & double check configuration 15. Go to nautilus properties to folder to share /Home/Documents/ToShare-FullAccess and change group to sambashare and access to create and dele files (figures 14 & 15) 16. Open terminal as root 17. Modify Samba Config File - > "sudo gedit /etc/samba/smb.conf" 18. Go to the end of the file and you will see something like this: # - Modify samba configuration file - # sudo vim /etc/samba/smb.conf sudo gedit /etc/samba/smb.conf workgroup = l_is wins support = yes # - For full linux instalation - # security = user [ToShare-FullAccess] comment = ToShare-FullAccess to everybody in the net path = /home/is_derayo/Documents/ToShare-FullAccess writeable = yes browseable = yes guest ok = no create mask = 0777 valid users = is_derayo, smbguest [ToShare-JustRead] comment = ToShare-JustRead to everybody in the net path = /home/is_derayo/Documents/ToShare-JustRead writeable = no browseable = yes guest ok = no create mask = 0755 valid users = is_derayo, smbguest # - Restart samba service - # sudo systemctl restart smbd.service nmbd.service sudo /etc/init.d/smbd restart sudo service smbd restart sudo /etc/init.d/samba reload sudo /etc/init.d/samba restart sudo smbd reload 19. The configuration has to have "guest ok = no" so when you try to access the folder, samba will ask you for a password. 20. Save the file and you are done. 21. There are two ways to access the folder from another terminal when you try to connect to a server depening of the file manager program (figure 16 & 17)