June 2016
Beginner
456 pages
9h 31m
English
In the previous recipe, we installed the Samba server and created a public share accessible to everyone. In this recipe, we will learn how to add authentication to the Samba server and password protect shared directories.
You will need access to a root account or an account with sudo privileges.
Make sure that the Samba server is installed and running.
Follow these steps to add users to the Samba server:
smbuser to your desired username:
$ sudo useradd -d /home/smbuser -s /sbin/nologin smbuser
Read now
Unlock full access