Centos Linux system hack password

Source: Internet
Author: User

Centos Linux system Password hack

This hack uses single-user mode to hack manually

Using the system: Centos 5/6

When you enter the boot interface, press "↓" to enter the Grub interface as shown in:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/04/wKiom1SO8WCDCwh6AAE9s8E5hkc832.jpg "style=" float: none; "title=" A1.png "alt=" Wkiom1so8wcdcwh6aae9s8e5hkc832.jpg "/>


Press "E" as prompted toedit, which appears as shown:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/02/wKioL1SO8f6g-qQbAAF2ZiTPuWg144.jpg "style=" float: none; "title=" A2.png "alt=" Wkiol1so8f6g-qqbaaf2zitpuwg144.jpg "/>


Select Option 2 , continue to edit by "E" andAdd "single" At the end, as shown in:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/04/wKiom1SO8WCTfuL9AAEeUhcpRYE443.jpg "style=" float: none; "title=" A3.png "alt=" Wkiom1so8wctful9aaeeuhcprye443.jpg "/>


Press "Enter" key to save, will automatically return to the upper interface, press "B" key will automatically restart from single user mode, restart will automatically log in to single user mode, as shown in:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/02/wKioL1SO8f7AjMkYAAFy6rzQgFU345.jpg "style=" float: none; "title=" A4.png "alt=" Wkiol1so8f7ajmkyaafy6rzqgfu345.jpg "/>


Finally, use the command passwd to reset the root password;650) this.width=650; "Src=" http://s3.51cto.com/ Wyfs02/m02/57/04/wkiom1so8wdgn116aadxhxsocvs001.jpg "style=" Float:none; "title=" A5.png "alt=" Wkiom1so8wdgn116aadxhxsocvs001.jpg "/>

Restart verification, witness the moment of miracles!


This article is from the "Itlang_jansion_goktech" blog, make sure to keep this source http://wangdy.blog.51cto.com/3845563/1590265

Centos Linux system hack 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: 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.