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