On Fri, 12 Jul 2002, Peter Li wrote:

> Does anybody tell me if I forgot my root password, how can I reset it from console.  
>Thanks!
> 
Hint:  search the archives  (www.prairienet.org/redhat), you'll get the
        answer a lot quicker than waiting for us.  This question is asked
        very frequently.


boot into single user mode (method depends on your boot loader):

LILO:
        boot:  linux single

GRUB:
        select your normal kernel load, e to edit, 

add to the end of that line:   single
then save this and boot

You will be in "single-user-mode", where root is the only user.
The system prompt will be:  #

THis is the console level (x-windows is not running).

Give passwd command, you will get prompt for root's (new) password.

reboot (ctrl-d will exit single user mode)


-- 
***************************************************************************
Jerry Winegarden        OIT/Technical Support           Duke University
[EMAIL PROTECTED]            http://www-jerry.oit.duke.edu
***************************************************************************



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to