Can't change user password
freebsd at edvax.de
Mon Apr 7 13:57:53 UTC 2014
On Mon, 07 Apr 2014 10:16:25 -0300, Juan Bernhard wrote:
> 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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions