Issue 790 - need to set selinux to permissive for autorelabel to work

This commit is contained in:
Petr Bokoc 2025-01-14 15:31:02 +01:00 committed by pbokoc
parent d16a9016b9
commit 75f08e46ef

View file

@ -69,10 +69,14 @@ You may have to do a hard-reboot and start back at step 1.
/sbin/reboot -f
----
. As the boot (GRUB) menu appears (same as the first step), again select the boot entry you want to use, press *e*, and add the `enforcing=0` option to the end of the command line. This will temporarily set SELinux in permissive mode, which will allow the relabeling process to proceed. Then, boot the modified entry.
The system may take a moment to boot while SELinux relabels its permissions on the filesystem.
If you see the Plymouth boot screen you can press the `ESC` key on your keyboard to view the SELinux progress.
Once it is complete, your system is ready and your root password has been successfully changed.
Once it is complete, your system is ready and your root password has been successfully changed. Upon next reboot, the `.autorelabel` file will be gone and SELinux will be set to previous behavior.
For more information about SELinux states and modes, see xref:selinux-changing-states-and-modes.adoc[Changing SELinux States and Modes].
[[sect-reset-password-using-the-fedora-live-media]]
== How to reset the root password with a Fedora Live Media