Linux system use version: CentOS 6.6
1, boot into the boot interface after pressing E or ENTER, enter the GRUB boot menu, such as;
2, press E to enter the editing mode, the upper and lower key moves to switch to line 2nd kernel this line;
3. Press E to enter kernel Edit command line, for example, in the cursor space and then enter single or S or 1
Press ENTER when finished, save to return to the previous boot menu, press B to start the system
4, start the system does not need to enter the administrator password, enter the single user mode, after entering can passwd the command to modify the administrator password;
5. Operation level of single user mode
Enter 1 run level shown as
[[Email protected]~]# runlevel
0 2
Enter the S or single run level to display as
[[Email protected]~]# runlevel
Ns
The single-user mode is not networked, which is equivalent to the security mode of Windows.
Linux enters single-user mode to modify Administrator password