红联Linux门户
Linux帮助

How to change "root" password in RHEL Linux If Forgotten

发布时间:2008-03-12 01:18:05来源:红联作者:tsaqhlg
If the root password is ever changed and forgotten on a RHEL Linux system please do the following to change it.

1. Turn the system on or reset it.

2. When you get the GRUB menu, press 'e'.

3. Use the down arrow on the keyboard to highlight the second line that starts with kernel ...

4. Press 'e' again and then you will get to edit the line.

5. Insert a space at the end of the line and type '1' or 'S'.

6. Press enter.

7. Press 'b' to boot into single user mode as root.

8. At the command prompt type passwd root.

9. reboot the system and use the new password.
文章评论

共有 2 条评论

  1. feidecheng 于 2008-04-27 01:13:43发表:

    :0wpoi2 :0wszxc :0wszxc
    牛人啊

  2. lippe 于 2008-04-13 22:31:56发表:

    Your English is very NB!