Can't change user password

Juan Bernhard juan at
Mon Apr 7 15:52:30 UTC 2014

El 07/04/2014 10:56 a.m., Polytropon escribió:
>> Hello list, I have a really strange problem. I can't chage a user
>> > password, I tryed from the user itself, from root, in sigle user mode...
>> > I also try to change the hsash in /etc/master.passwd. The passwd command
>> > exit successfully, but nothing happens, the old password is not changed.
>> > The only solution I found is to delete the user and create him again...
> You should be able to force a password change with "passwd <user>"
> as root, and run "pwd_mkdb /etc/master.passwd" to generate the
> binary files. Those need to be "in sync" with the plaintext
> files. See "man pwd_mkdb" and "man passwd" for details.

Thanks a lot Polytropon! That worked for me... I was getting paranoid on
this thing.

Saludos, Juan.

More information about the freebsd-questions mailing list