How to recover root password in Centos 6?
How to recover the root password?
1) Press ' E ' When starting the server.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7E/70/wKiom1b_YofTo5KzAAAVsQI1oTg777.png "title=" Root01.png "alt=" Wkiom1b_yofto5kzaaavsqi1otg777.png "/>
2) Select Kernel followed by pressing ' E ' to edit the commands.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/6D/wKioL1b_YxiQglbcAAAlLg6NCak376.png "style=" float: none; "title=" Root02.png "alt=" Wkiol1b_yxiqglbcaaallg6ncak376.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/70/wKiom1b_YnPB21rUAAAQIleBq90612.png "style=" float: none; "title=" Root03.png "alt=" Wkiom1b_ynpb21ruaaaqilebq90612.png "/>
3) Add 'single ' or '1' then press ENTER.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/6D/wKioL1b_Y2TBJ2KCAAAXfQLh7G0622.png "title=" Root04.png "alt=" Wkiol1b_y2tbj2kcaaaxfqlh7g0622.png "/>
4) Press " B " to boot server with single user mode.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/6D/wKioL1b_Y3_Tz2-7AAAlusLq250173.png "style=" float: none; "title=" Root05.png "alt=" Wkiol1b_y3_tz2-7aaaluslq250173.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/70/wKiom1b_YtqCaseUAAA7ehEdYsw913.png "style=" float: none; "title=" Root06.png "alt=" Wkiom1b_ytqcaseuaaa7ehedysw913.png "/>
5) Use command 'passwd root' To change the root password.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/70/wKiom1b_YujAklc7AAAQ2pkSrS4682.png "title=" Root07.png "alt=" Wkiom1b_yujaklc7aaaq2pksrs4682.png "/>
6) Use the command 'reboot' to reboot server.
This article is from the "Avaya" blog, so be sure to keep this source http://avaya.blog.51cto.com/4259683/1759541
How to recover the root password in Centos 6?