Date: Sun, 28 Feb 2021 00:35:46 +0200 From: Gareth de Vaux <bsd@lordcow.org> To: freebsd-questions@freebsd.org Subject: Re: user account disappeared Message-ID: <YDrJQs6kf8jL56xJ@lordcow.org> In-Reply-To: <a45744ec-75c9-4ef6-0202-4a2c0633248d@yuripv.dev> References: <YDqquH5y8wM4F7uO@lordcow.org> <a45744ec-75c9-4ef6-0202-4a2c0633248d@yuripv.dev>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDrJQs6kf8jL56xJ>