cannot change password for an ordinary user

Anton Shterenlikht mexas at bris.ac.uk
Thu Apr 13 21:35:46 UTC 2017


On 11.0-RELEASE-p9, passwd command
seems to exit with no error for an ordinary user,
but the passwd is not updated, i.e. after passwd
has exited, this user can login only with the old
password, not the new.

I found this thread:
https://forums.freebsd.org/threads/49802
which suggested to use pwd_mkdb.

I decided to check first, and got:

# pwd_mkdb -C /etc/passwd
pwd_mkdb: corrupted entry
pwd_mkdb: at line #3
pwd_mkdb: /etc/passwd: Inappropriate file type or format


Should I be worried?
And how can change my ordinary user's password?


I can change the root password fine, tried and checked.

Thanks

Anton


More information about the freebsd-questions mailing list