Upon reboot, the SELinux relabelling process will commence. To apply the changes, exit and reboot the CentOS 8 system. Next, run the command below to enable SELinux relabelling. For best practice select a password with a combination of uppercase, lowercase, numerical and special characters to boost password strength. Provide a new root password and confirm it. You can now change the root password by executing the command: :/# passwd root Next, run the command below to mount the root file system in read and write mode. Once done with making the changes, hit Ctrl + X combination on the keyboard to enter single-user mode. In a nutshell, simply replace the kernel parameter ro with rw init=/sysroot/bin/sh. Replace the kernel parameter ro with rw and append an extra kernel parameter init=/sysroot/bin/sh.
0 Comments
Leave a Reply. |