user account disappeared
Gareth de Vaux
bsd at lordcow.org
Sat Feb 27 22:38:21 UTC 2021
On Sat 2021-02-27 (13:39), David Christensen wrote:
> Are you using NIS, LDAP, Kerberos, etc.?
Nope.
> Is authentication working for root on the console? Via su(1)? Via local
> ssh(1)? Via network ssh(1)?
Yes root and all other users are fine. Just lostuser has disappeared:
# getent passwd lostuser
#
> Is authentication working for lostuser on the console? Via su(1)? Via
> local ssh(1)? Via network ssh(1)?
No, though I don't have console access right now.
> Is authentication working for other accounts on the console? Via su(1)?
> Via local ssh(1)? Via network ssh(1)?
Apart from console access yes everything/everyone else is working.
/etc/*pwd.db seems out of sync with /etc/*passwd for lostuser.
Though they were all touched at the same time when the non-related user's password was changed:
# ls -l /etc/*pwd.db /etc/*passwd
-rw------- 1 root wheel 4092 Jan 23 12:22 /etc/master.passwd
-rw-r--r-- 1 root wheel 2621 Jan 23 12:22 /etc/passwd
-rw-r--r-- 1 root wheel 40960 Jan 23 12:22 /etc/pwd.db
-rw------- 1 root wheel 40960 Jan 23 12:22 /etc/spwd.db
More information about the freebsd-questions
mailing list