Can't login to root

From: Wandering Destiny (remove_starcrushed_at_hotmail.com)
Date: 01/29/05


Date: Sun, 30 Jan 2005 02:15:35 +0800

A colleague of mine manually edited the shadow file to enable password
expiration. Some how, he messed up the shadow file and now we can't log in
or su to root, not even from console. I know he didn't changed the password
field of the file, so could he have changed that caused root not being able
to login even at console? If I do a reboot to single user mode, will I be
able to login as root?



Relevant Pages

  • RE: Incorrect Login for root
    ... Now I am able to login as root ... the passwd file and deleted the shadow file. ...
    (RedHat)
  • Re: Cant login to root
    ... > A colleague of mine manually edited the shadow file to enable password ... > or su to root, ... you will have to boot form CD. ...
    (comp.unix.solaris)
  • RE: Have I been hacked? Shadow file deleted
    ... Only I have the root password, that I change every time the shadow file is ... Last resort is to do a complete bare metal install again and keep root ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ...
    (Fedora)
  • Re: root password gone AWOL!
    ... I know if you remove the "x" from the passwd file in the line ... the root account without asking for a password. ... which is responsible for the shadow file, ... AeoN wrote: ...
    (comp.os.linux.networking)
  • Re: Re: (no subject)
    ... ĦĦĦĦBut how can i access to singleuser mode.When i reboot linux,there is no option to choose. ... >> just now i deleted user root by mistake.And now i can't add users and do many other things.What should i do to recover root? ... >You have to edit the passwd file and the shadow file to add root back ... >password part of the shadow file in for root and use it or once you have ...
    (RedHat)