Because my memory is not very good, so complex things such as password is easy to forget. Search for the relevant solution by ' one ' degree and record it for later use.
Environment: Virtual Machine vmware8.04 Centos 6.3
A deliberately forgotten password
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/71/wKioL1gTKMbTjYvyAAAJWz5CHFk923.png-wh_500x0-wm_3 -wmp_4-s_1992297255.png "title=" 1.png "alt=" Wkiol1gtkmbtjyvyaaajwz5chfk923.png-wh_50 "/>
Two click on the power button, and in the drop-down list, tap restart Guest.
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/89/73/wKiom1gTKYDRCt8ZAAAdQo8U_Dg750.png-wh_500x0-wm_3 -wmp_4-s_4288783260.png "title=" 2.png "alt=" Wkiom1gtkydrct8zaaadqo8u_dg750.png-wh_50 "/>
Three in a few seconds press any key
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/71/wKioL1gTKd_hE_RTAAAGz2u0Fag253.png-wh_500x0-wm_3 -wmp_4-s_3558667119.png "title=" 3.0.png "alt=" Wkiol1gtkd_he_rtaaagz2u0fag253.png-wh_50 "/>
Four appear below the scene, press the E key
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/73/wKiom1gTKpHTcG_4AAATzX13Mjk652.png-wh_500x0-wm_3 -wmp_4-s_2493684768.png "title=" 3.1.png "alt=" Wkiom1gtkphtcg_4aaatzx13mjk652.png-wh_50 "/>
Five appear below the scene, press the ' Down arrow ' to select the kernel line, and press the E key
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/71/wKioL1gTK33ThEV6AAAfYyxhUyI606.png-wh_500x0-wm_3 -wmp_4-s_1573907381.png "title=" 4.png "alt=" Wkiol1gtk33thev6aaafyyxhuyi606.png-wh_50 "/>
Six press the space, then enter 1 or single, enter confirm
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/73/wKiom1gTLDnQm2x6AAAPhEoIH_g933.png-wh_500x0-wm_3 -wmp_4-s_3264690063.png "title=" 5.0.png "alt=" Wkiom1gtldnqm2x6aaapheoih_g933.png-wh_50 "/>
Or
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/71/wKioL1gTLILzL5ZeAAAOh5_9zAk545.png-wh_500x0-wm_3 -wmp_4-s_2111024403.png "title=" 5.1.png "alt=" Wkiol1gtlilzl5zeaaaoh5_9zak545.png-wh_50 "/>
Seven into single user mode
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/71/wKioL1gTLNWwRiFEAAAttIzIp5o535.png-wh_500x0-wm_3 -wmp_4-s_3770566468.png "title=" 6.png "alt=" Wkiol1gtlnwwrifeaaattizip5o535.png-wh_50 "/>
Eight next is to use the passwd command to change the root password, and then reboot restart the virtual machine
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/73/wKiom1gTLVDAc964AAANWT2orv8640.png-wh_500x0-wm_3 -wmp_4-s_2982460306.png "title=" 7.png "alt=" Wkiom1gtlvdac964aaanwt2orv8640.png-wh_50 "/>
Nine log in with the password you just set
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/73/wKiom1gTLeuST_3JAAALcbalnus349.png-wh_500x0-wm_3 -wmp_4-s_3290854518.png "title=" 8.png "alt=" Wkiom1gtleust_3jaaalcbalnus349.png-wh_50 "/>
This is my first time to write a blog, if not written well, the great God mock not a!! 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0028.gif "alt=" J_0028.gif "/>
This article is from the "12152777" blog, please be sure to keep this source http://12162777.blog.51cto.com/12152777/1866945
Modify Roo's password virtual machine vmware8.04 Centos 6.3