Bootstrap FreeKB - Samba (File Server) - Delete user from Samba backend using the smbpasswd command
Samba (File Server) - Delete user from Samba backend using the smbpasswd command

Updated:   |  Samba (File Server) articles

The pdbedit --list command can be used to list the user that have been added to the SMB database. The output should be identical to the smb.passwd file.

~]# pdbedit --list
john.doe:1001
jane.doe:1002

 

The smbpasswd command with the -x option can be used to delete a user from the SMB database.

~]$ sudo smbpasswd -x john.doe
Deleted user john.doe.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 4d5a1f in the box below so that we can be sure you are a human.