Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 15:56:39 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Juan Bernhard <juan@inti.gob.ar>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't change user password
Message-ID:  <20140407155639.f77d925e.freebsd@edvax.de>
In-Reply-To: <5342A529.60600@inti.gob.ar>
References:  <5342A529.60600@inti.gob.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140407155639.f77d925e.freebsd>