Resending because I didn't get any responses.

Steve Fox wrote:
> 
> I was installing AFS for Linux when I came to a point where I had to
> reboot.
> Suddenly I can't log into my box anymore...both my root and user logins
> give me "Invalid login".  So I followed the instructions below from the
> archive, but now when I try to log in as root it doesn't even let me
> enter a password...I just get the same message and it refreshes to a
> clean login prompt.
> 
> ------------------------------------------------------------------------------
> Try booting with "init=/bin/sh". Unless you've activated some LILO
> security features, that will give you a root shell.
> 
> do:
> 
>   mount -o rw,remount /
>   vi [or any other editor] /etc/shadow
> 
> Replace the line reading something like
> 
> root:$1$p8fRUBO9$gbNM1tqtVPTWOYhkGMEC41:10818:0:99999:7:-1:-1:134542400
> 
> with
> 
> root::10818:0:99999:7:-1:-1:134542400
> 
> Save the file, exit the editor, type "sync", and press Ctrl-D. Now you
> should be able to boot into runlevels 3 and 5; the root password is
> empty. Don't forget to change it back to something more difficult to
> guess as soon as possible.
> 
> LLaP
> bero
> 
> -------------------------------------------------------------------------
> 
> Any ideas how I can get back into my system? Is there something with PAM
> I need to update?
> 
> Mandrake 6.0, 2.2.9-27
> 
> --
> 
> Steve Fox
> http://pcxtreme.org

-- 

Steve Fox
http://pcxtreme.org

Reply via email to