(no subject)

Huan Deng hdeng at microscience.com.cn
Thu Apr 29 06:20:24 UTC 2004


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

= = = = = = = = = = = = = = = = = = = =
			


				 
               Huan Deng
               hdeng at microscience.com.cn
					2004-04-29 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FACE-3.GIF
Type: image/gif
Size: 842 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20040429/106585f1/attachment.gif>


More information about the redhat-list mailing list