Re: I screwed up w/ shadow passwords
On Fri, Oct 15, 1999 at 02:06:05AM -0700, Martin Waller wrote:
> Hello,
>
> I have on old 486 on which I installed debian (slink) (any excuse), but
> forgot my root password. So I went in and edited /etc/passwords, where
> there were 'x's fro the password fields.
>
> Then I changed the root password after deleting the 'x' in root's
> /etc/passwords entry.
>
> But now, the password only works under xdm login. Under console login, _no_
> password is required.
>
> How do I fix this?
Put the "x" back. What you really need to do is simply run "passwd" as root. This
wont require knowing the previous password.
Ben
Reply to: