Sample Header Ad - 728x90

Edit samba user password hash/digest without knowing the password

2 votes
1 answer
2641 views
I am maintaining a samba server for an office environment. So far, whenever there had to be a new user, I called the person over and let him type in his samba password on my console, after I typed smbpasswd -a username. I don't want to know any of the passwords. For the unix passwords, I just let them create a password digest (e.g. http://www.askapache.com/online-tools/htpasswd-generator/) in advance and edit the password file later with vipw -s. Now I have a remote colleague who can't come over to type in his password, but I still don't want to know it at all. How can I edit the samba password without actually knowing the password itself, but just a digest?
Asked by Preexo (5083 rep)
May 28, 2015, 05:29 AM
Last activity: Jun 1, 2025, 12:07 PM