What if you forget the root login password? Using the Linux system single-user mode (similar to Windows security mode) to reset the new password can be, declaring: This operation is to be carried out on the physical host, if you are Telnet, then there is no way, the specific steps are as follows:
Step1:
After restarting the system, the Grub interface appears on the boot loader menu, using the UP and DOWN ARROW keys to select the system you forgot your password for, type "E" to enter edit mode.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/77/wKiom1X-uVyDWSeXAAFkkB2EFUg731.jpg "style=" width : 570px;height:368px; "title=" P1.png "width=" 570 "height=" 368 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1x-uvydwsexaafkkb2efug731.jpg "/>
Step2:
Next you can see the screen as shown, then you use the up and down keys to select the latest kernel (here is the second line, kernel ...). ), and then continue to press the "E" key.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/74/wKioL1X-u5mQCsJeAAH5UrCWTY8853.jpg "style=" width : 570px;height:388px; "title=" P2.png "width=" 570 "height=" 388 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1x-u5mqcsjeaah5urcwty8853.jpg "/>
Step3:
then add "space" to the edit interface rhgb quiet, then type "single" and enter OK.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/77/wKiom1X-uV3gOHrWAAFHsiImW18189.jpg "style=" width : 570px;height:380px; "title=" P3.png "width=" 570 "height=" 380 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1x-uv3gohrwaafhsiimw18189.jpg "/>
STEP4:
After Enter, press "B" key to launch into single user mode, here to change the root password.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/77/wKiom1X-uV2TqAb7AALq_gN9I7E730.jpg "style=" width : 600px;height:397px; "title=" P5.png "width=" "height=" 397 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1x-uv2tqab7aalq_gn9i7e730.jpg "/>
This article is from "snail" blog, please be sure to keep this source http://zhangwj.blog.51cto.com/10609913/1696580
What if I forgot my root login password? _single mode can be turned on