Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 00:38:10 +0200
From:      Gareth de Vaux <bsd@lordcow.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: user account disappeared
Message-ID:  <YDrJ0kUeKb%2B1asH0@lordcow.org>
In-Reply-To: <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com>
References:  <YDqquH5y8wM4F7uO@lordcow.org> <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDrJ0kUeKb%2B1asH0>