user account disappeared
Gareth de Vaux
bsd at lordcow.org
Sat Feb 27 22:35:57 UTC 2021
On Sun 2021-02-28 (01:23), Yuri Pankov wrote:
> You should remember that authentication generally does NOT use textual
> /etc/passwd and /etc/master.passwd directly and rather relies on
> /etc/spwd.db database (see pwd_mkdb(8)) -- what is the timestamp on it?
> If it's out of sync, recreate the database using:
> /usr/sbin/pwd_mkdb -p /etc/master.passwd
> If that helps, *why* it is out of sync is the real question.
Thanks, I assume that will fix it since the entry is in /etc/*passwd, though I'm
worried if I run pwd_mkdb I'll squash some clues, and yes I'm more concerned with
why this happened.
More information about the freebsd-questions