Re: Re: (no subject)
From: goodman (goodman.gao_at_163.com)
Date: 04/29/04
- Previous message: Huan Deng: "Re: Re: (no subject)"
- In reply to: Huan Deng: "Re: Re: (no subject)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "General Red Hat Linux discussion list" <redhat-list@redhat.com> Date: Thu, 29 Apr 2004 14:25:44 +0800
You can try init 1 or init s for rebooting to enter single user mode.
----- Original Message -----
From: "Huan Deng" <hdeng@microscience.com.cn>
To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
Sent: Thursday, April 29, 2004 2:20 PM
Subject: Re: Re: (no subject)
> Bryan Elliott:
>
> But how can i access to singleuser mode.When i reboot linux,there is
no option to choose. :(
>
>
>
> >Huan Deng wrote:
> >
> >>hi:
> >> 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?
> >> thank u..~
> >>
> >>
> >>
> >>
> >>
> >>
> >> Huan Deng
> >> hdeng@microscience.com.cn
> >> 2004-04-29
> >>
> >>
> >>
>
>> ------------------------------------------------------------------------
> >>
> >You have to edit the passwd file and the shadow file to add root back
> >with proper gid# you can do this in singleuser mode. just copy your
> >password part of the shadow file in for root and use it or once you have
> >it added back us passwd to change it back to what it should be.
> >
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> >https://www.redhat.com/mailman/listinfo/redhat-list
>
> = = = = = = = = = = = = = = = = = = = =
>
>
>
>
> Huan Deng
> hdeng@microscience.com.cn
> 2004-04-29
>
----------------------------------------------------------------------------
---- > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Huan Deng: "Re: Re: (no subject)"
- In reply to: Huan Deng: "Re: Re: (no subject)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]