Adding user for Linux Samba/SMD shares
Samba uses tdbsam by default to manage SMB password, that’s the password used to logon over Windows Networking.
Adding and managing users
In this example, I will add a user called damien. You can add as many users as you need in the same way, just replace the username tom with the desired username in the commands.
useradd damien -m -G users
Set a password for Damien in the Linux system user database. If the user Damien shall not be able to login to the Linux system, skip this step.
passwd damien
-> Enter the password for the new user
Now add the user to the Samba user database.
smbpasswd -a damien
-> Enter the password for the new user
Kicker
Thanks for article. Everytime like to read you.