Re: (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
>              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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux