Linux Reset root user password

Source: Internet
Author: User

Forgot your password. It's the norm! How to change? Look down!!


The root user password for Linux maximum permissions forgot? What do you do, redo the system? Of course, you can do this!!! However, in a production environment 、。。。。。。 Are you okay? Answer: No (with mention: even during the learning process, it is recommended that you also play according to the production environment (Linux)


Beginner linux,root Password Forgotten, the first time to play!!

-----------------------------------------------------------------------------------------


Operation Steps:


Restart Linux, then press any key (except: Enter, Space), select the operating system you forgot your password to boot,

Press "E", (actually, the abbreviation for edit)


Up/down to switch, select, your system kernal items, I have a total of three items, the choice is the second item,

Press "E" again, add 1 or single at the end, press ENTER, return to the previous interface automatically,


Press "B", the system will be restarted in single user mode, enter the system, enter the "passwd" command, and then enter a new password, confirm the password.


-----------------------------------------------------------------------------------------


This blog has been very good to say.

http://suodihai.blog.51cto.com/347951/89943/



But I need to add a little something:


I use Centos6.5, kernel: 2.6.32-431.e16.i686, press the keyboard e,b, always can't!!!!!!

Later found, the keyboard to open the capitalization function. When it's closed, it'll be!!!!!!!!!!!!!!.

This article is from the "Being Loving" blog, make sure to keep this source http://hotboy.blog.51cto.com/8826994/1591905

Linux Reset root user 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.