2W1ETN

Damien Jorgensen – Radio Ham, Software Developer and Car Enthusiast

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

One Response to “Adding user for Linux Samba/SMD shares”


  1. Kicker

    Thanks for article. Everytime like to read you.

Leave a Reply

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 754 bad guys.