1. Modify the startup mode:
Enter command line terminal to use this command
[Email protected] ~]# Vi/etc/inittab
Id:5:initdefault:
5 for graphical interface mode
3 for multi-user developer mode
Tap I into edit mode, change 5 to 3
Executive Esc->:wq->reboot
Modified successfully!
2. Change the root password:
A. Start the system,
B. Let it stop at the start of the interface, just click on a key on the keyboard, this will enter the operating system configuration Boot interface,
C. According to the prompts, tap the keyboard e key, edit the boot information
D. Locate the kernel option and, as prompted, tap the E key
E. Append parameter 1, log in to the system in single-user mode
F. Enter
G. Tap the B key to start the system
H. Enter the passwd command to reset the password
3. To prevent arbitrary password changes, grub can be encrypted:
A. Using grub-md5-crypt
B. Enter the password to generate the encrypted password
C.
Vi/boot/grub/grub.conf
D
#文件头添加password--MD5 $1$uga2b1$driidrvtegvg95fhhx4h./
E. This time again to enter the single user name change password is not