Linux Skip login Modify user password

Source: Internet
Author: User

 2017-02-11 20:41 6 people read Comments (0) Favorites Edit Delete Classification:Linux

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux system default is 0 1 2 3 4 5 6 Boot level

The most common is the level of more than 3 users who can connect to the network

5 Graphical User interface

6 is a reboot, if enabled, will restart automatically when the boot is complete.

1 is a single-user level

What if the configuration is wrong and the boot level is changed to 6? Or did you forget your password?

Don't worry: You can follow the steps below

That is, when Linux starts, the keyboard presses the letter e until it appears

Reference centos6.4

This interface (there may be only one line of information, then click on the e will appear this message)

Then use the up and down keys to select the second line, press E to enter the space and 1

Return to the top of the first step after the picture shows the look

Then press the B keyboard

The system will go into a single-user level boot

This time to start the completion of no need to enter a password to operate Linux, you can use passwd after the user name to modify the corresponding user's password, of course, the root user's password can also be modified

Modify and then modify the boot level in the Vi/etc/ininttab configuration file, change to the usual 3 mode, and then reboot restart, so you bypass the user login to modify the user's password and can be restarted

I use the modified password directly to the Linux system to operate, is not very bad, haha

Once this is done, you will not be able to use the Linux system for others. Unless he will, you changed the password, he changed back, haha, feel good to give a praise oh.

Welcome everyone to share and reprint!

Linux Skip login Modify user password

Related Article

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: 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.