User can't login but /etc/(master.)passwd OK

n dhert ndhertbsd at
Wed May 9 12:04:37 UTC 2012

I have a problem with a login on FreeBSD (8.3-p1)

Dont' know what was done wrong, but a certain user (lets call it
THATUSER) can no longer login.

the entries for 'THATUSER in /etc/passwd and /etc/master.passwd are still
the same as from a backup
of 14 days ago (no change in encrypted passwd)
The /etc/pwd.db and /etc/spwd.db  are binary files so I can't check..

The home-directory of THATUSER is still present and contents looks normal ..

All users have quota, but for this particular user:
# quota -v THATUSER
quota: THATUSER: unknown user
# edquota -u THATUSER
edquota: THATUSER: no such user
# repquota /home does not show that user anymore

Other users, no problem
So it seems that user is unknown to the system ??

What can be the reason and how to solve ?

More information about the freebsd-questions mailing list