Linux system enters single-user mode to modify the root password

Source: Internet
Author: User


The first step: Boot the system, enter the boot menu.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/A7/wKioL1VPbQiBxa8AAAE4QaYnEAM407.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiol1vpbqibxa8aaae4qayneam407.jpg "/>


Step Two: Press ENTER to enter this interface, select the kernel (System kernel) line, press E to enter the editing mode.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/A7/wKioL1VPbQvw7H0iAAGHjUiUHkc854.jpg "title=" 4.jpg " Style= "Float:none;" alt= "wkiol1vpbqvw7h0iaaghjuiuhkc854.jpg"/>


Step three: Enter "Space +single" at the end of the line, then enter to return to the previous interface.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/AC/wKiom1VPa5GSUUkHAAEvml3FcmM098.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiom1vpa5gsuukhaaevml3fcmm098.jpg "/>


Fourth step: Press "B" to start the system, login in single user mode

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/AC/wKiom1VPa5SSoD67AAFq1U7YQfc561.jpg "title=" 5.jpg " Style= "Float:none;" alt= "wkiom1vpa5ssod67aafq1u7yqfc561.jpg"/>


Fifth step: After entering the command line, enter the command to change the password (to comply with the password principle, the simple password for experiment setup here)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/AC/wKiom1VPa5qS-rDGAAKoXxmJXr4864.jpg "title=" 7.jpg " Style= "Float:none;" alt= "wkiom1vpa5qs-rdgaakoxxmjxr4864.jpg"/>


Sixth step: Restart the system, after normal startup can be logged in with a new password

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/AC/wKiom1VPa47QQRSYAAKhDndnM5Y468.jpg "title=" 8.jpg " Style= "Float:none;" alt= "wkiom1vpa47qqrsyaakhdndnm5y468.jpg"/>



This article is from the Linux OPS blog, so be sure to keep this source http://jinghsy.blog.51cto.com/7648537/1650091

Linux system enters single-user mode to modify the root password

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.