Resetting the root password in single-user mode takes only a few steps
Experimental system: CentOS6.3 x64
Press ENTER in 3 seconds, then enter "E" to enter single user mode
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/89/C9/wKiom1gcP53BU6W8AAAHxJvX4RI100.png "/>
See the following message, select the second line, enter "E"
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/89/C9/wKiom1gcP57jMoFLAAALPsGXH9s891.png "/>
Add a word "single" to the back, then press ENTER, followed by "B", and the system is started to enter into one-user mode.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/89/C7/wKioL1gcP56iGBTwAAAGIi814LA285.png "/>
Change the root password, then #shutdown R now
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/89/C7/wKioL1gcP56CIA1rAAAEx_uTHBk216.png "/>
This article is from the "LULU" blog, make sure to keep this source http://aby028.blog.51cto.com/5371905/1869502
Forgot root password reset process via single user mode