The single-user mode under Linux is similar to the secure mode under win, and can be used to change the root password!
To change the root password, for example:
1, restart the system into GRUB650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/74/DA/wKioL1YsmorzxL8iAAEkp8LpI_o469.jpg " title= "Grub Interface" alt= "Wkiol1ysmorzxl8iaaekp8lpi_o469.jpg"/>
2, press the E key to enter the editor, select Kernel ... Item, and then press E to edit
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/DD/wKiom1YsmsLS5vFhAAHcjb5GuRw622.jpg "title=" press the E key to edit " alt= "Wkiom1ysmsls5vfhaahcjb5gurw622.jpg"/>
3, set up a single user start, can be added at the end of 1, S, A;
Enter exit and press B to start the system.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/DD/wKiom1Ysm2fAYeFjAADWbTKz8P4406.jpg "title=" Set up single-user launch "alt=" Wkiom1ysm2fayefjaadwbtkz8p4406.jpg "/>
4, no need to enter the root password to enter the system, view the user, runlevel and change the root password;
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/DD/wKiom1YsnM7zm44bAADNZ-27A3Q100.jpg "title=" OK to enter single user mode "alt=" Wkiom1ysnm7zm44baadnz-27a3q100.jpg "/>
This article is from the "Quit Pride Quit" blog, please be sure to keep this source http://lijunjiang.blog.51cto.com/6905358/1706059
Single-User mode