If you use Samba Server on your network, you would like to make users that have access to use it. It is very easy. Use simple command structure on how to do so.
I’m assuming that you’ve already installed Samba Server at this point.
There are 2 steps to creating a user.
First we’ll run the smbpasswd utility to create a samba password for the user.
sudo smbpasswd -a <username>
after that, we will add that username to the smbusers file.
sudo gedit /etc/samba/smbusers
Integrate the following line; adding the username with the one you want to give access to. The format is <ubuntuusername> = “<samba username>”. You can use a serval samba user name to map to an ubuntu account, but that’s not really required at the moment.
<username> = “<username>”
Now you can make samba shares and give access to the users that you listed here.



Reply With Quote
Bookmarks