What if I forgot my root login password? _single mode can be turned on

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.