centos6.5 reset the root password

1. Briefly press the "E" key on the keyboard or the "ESC" key (If this is not accurate or fast can always press the stop by before starting) at boot time, it will enter the following interface. If you have multiple operating systems will have multiple cores, there will be multiple options
Write pictures described here
2. Select the kernel you forget your password, press "E" again, appears the figure below, the second choice, press the "E" key, the name of the second term will be some small differences based on individual settings, but begins with kernel, usually the second choice it wants to
Write pictures described here
3. after the second step, this screen can be edited, added at the end of the "space" of information, directly enter the number "1" (as shown) or type "single" line, enter OK to proceed.
Write pictures described here
Here will be different depending on the configuration of the individual display of information, but it does not matter, directly behind the quiet plus on the line
Write pictures described here
4. After operating the third step, the following figure will appear, is not feeling has returned to the second step of it? Not, where the keyboard is "B" button, to enter the guiding system.
Write pictures described here
5. In the following screen after "#" enter "the passwd root", the root password reset, password again to confirm the entry again, a total of two times, and then enter the system reboot reboot, root password reset is complete.
Write pictures described here
As follows: When entering a new password, you may be prompted new password is too simple, can be ignored, just to remind, does not affect anything
Write pictures described here
this time I think the general account password I have forgotten can not change it, possible! After all, root is in control of presence ~ If you want to change other account password, enter the command with the root login: passwd accountName to change, accountName you want to change the account name and password, such as my account name hadoop:
Write pictures described here
Paste Link reference :
http://blog.csdn.net/ycb1689/article/details/37650385#comments

 

Guess you like

Origin www.cnblogs.com/wangdadada/p/12115962.html