001_restore_root_password.md - use .autorelabel in order to handle selinux when re-rooting box
jayhowell opened this issue · 2 comments
jayhowell commented
Instead of having to do...
In order to finish the task SELinux must be taken care of. If not, contents of /etc/shadow will be messed up.
There are two commands to be provided:
load_policy -i
chcon -t shadow_t /etc/shadow
You can just do
touch /.autorelabel
After you set the password.
And then reboot. That will take care of relabeling for selinux.
chlebik commented
Merged and fixed