Press Shift after boot. when the countdown page appears, press the key on the keyboard: when the countdown page appears, press the key, and then enter & ldquo; Space & rdquo; and then enter: 1. note: Space 1 is now in single-user mode. Check the current selinux status. if it is disabled, you do not need to modify it. Otherwise, you need to change it to disabled for viewing.
Press Shift after the boot. when the countdown page appears, press the key on the disk:
Countdown page appears
Press
After the character interface appears, enter "space" and then enter: 1
Note: Space 1
Now the single-user mode is enabled. Check the current selinux status. if it is disabled, you do not need to modify it. Otherwise, modify it to disabled.
View the current selinux status getenforce temporarily disable selinuxsetenforce 0 permanently disable selinuxvim/etc/selinux/configSELINUX = disabled # save and exit and change the password passwd root # restart the machine reboot