Date: Wed, 24 Dec 2008 13:18:49 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Franck Royer <royer.franck@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: empty root password Message-ID: <44abalcu7q.fsf@lowell-desk.lan> In-Reply-To: <4952707A.7070609@free.fr> (Franck Royer's message of "Wed\, 24 Dec 2008 18\:25\:14 %2B0100") References: <4952707A.7070609@free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Franck Royer <royer.franck@gmail.com> writes: > It's not a "how can I recover my root password" but something more weird. > > I copied my root filesystem from a partition to another with rsync -Pia. > But since that moment, I don't need any password to log myself as root > or to do a "su" from a user who is in the wheel group. > > I did some passwd on root, but that changes nothing. And my normal user > password wasn't affected. > > What can I do ? Run pkd_mkdb(8) by hand first, to make sure your password files are updated. [And see if that fixes your problem by itself.] Once you have done that: Running chpass(1) *should* work. Since it didn't, I suggest looking at the password file. Use vipw(8) for that, and see if there is anything in the password field for the root password. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44abalcu7q.fsf>