Pages

Monday, April 13, 2009

HOWTO reset CentOS or RHEL root password

Restart

'e'dit
navigate to second grub.conf line (kernel)
'e'dit the second line of the 'grub' bootloader to

append 1 (" 1") to the end of the line
or
append S (" S") to the end of the line
or
append "single" to ro root=LABEL=/ single

enter

'b'oot

Reset Root Password

# passwd


Shutdownn

# poweroff

Phần còn lại

No comments: