Samba in Ubuntu
https://mreschke.com/94/samba-in-ubuntu
apt-get install samba Add the linux user, but disable linux box login useradd -d /home/username -s /bin/false -n username This will create a new user with same group name with (told by '-n'), but the user can't login and run any shell command (because you have specfic the login shell is /bin/false by the '-s' switch, if you want allow user to able to login to a shell, replace /bin/false with /bin/sh). Create a samba user (same as linux username created above) smbpasswd -a username '-a' switch t...