Inux's Single-user mode Windows-like security mode can be used to change the root password (if not set grub password) and other operations
1. When the countdown starts, press any key
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/CD/wKiom1abZIaj_NJlAAAIESNRvhA971.png "title=" Centos-b-2016-01-17-17-51-49.png "alt=" Wkiom1abziaj_njlaaaiesnrvha971.png "/>
2. Press the E key to edit the command before starting
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/79/CC/wKioL1abZR-ADrtDAAATopl6shs107.png "title=" Centos-b-2016-01-17-17-54-20.png "alt=" Wkiol1abzr-adrtdaaatopl6shs107.png "/>
3. Select the second row of kernels and press the E key to enter the editing state
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/79/CD/wKiom1abZWPx77mVAAAa2banIvo681.png "title=" Centos-b-2016-01-17-17-55-55.png "alt=" Wkiom1abzwpx77mvaaaa2banivo681.png "/>
4. Enter single or S or 1 and then enter
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/79/CC/wKioL1abZgCBOeroAAASY1MYaoU015.png "title=" Centos-b-2016-01-17-17-57-51.png "alt=" Wkiol1abzgcboeroaaasy1myaou015.png "/>
5. Press the B key to start
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/79/CD/wKiom1abZhqD8P75AAAa4RViflw745.png "title=" Centos-b-2016-01-17-17-59-34.png "alt=" Wkiom1abzhqd8p75aaaa4rviflw745.png "/>
Now that you have entered single-user mode, you can change your system's files and then restart them.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/CD/wKiom1abZlTw597YAAAhT3vAfAY414.png "title=" Centos-b-2016-01-17-18-00-31.png "alt=" Wkiom1abzltw597yaaaht3vafay414.png "/>
Single-User mode