Re: Can't login to root

From: Ian (noone_at_nowhere.com)
Date: 01/29/05


Date: Sun, 30 Jan 2005 08:30:16 +1300

Wandering Destiny wrote:
> 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?
>
No, you will have to boot form CD. I'd then restore the files form
backup and try again - with care!

Ian



Relevant Pages

  • Cant login to root
    ... A colleague of mine manually edited the shadow file to enable password ... or su to root, not even from console. ... to login even at console? ...
    (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)
  • RE: Incorrect Login for root
    ... Now I am able to login as root ... the passwd file and deleted the shadow file. ...
    (RedHat)