On 06/19/2024 02:31 PM, Jonathan Billings wrote:
So, if you’ve used a rescue disk to boot into Linux, chroot into your OS’s disk, and run “passwd” to change a password, or otherwise edit /etc/shadow or /etc/passwd (or other files in /etc), you most likely need to fix the selinux labels of those files. Easiest way to do this is to run “touch /.autorelabel” before exiting the chroot, then rebooting. That will force the OS to check the selinux labels on all the files in your filesystem upon boot. It might take some time.
Why don't you just KISS by following the instructions to reset the root password, except that the command you need to run is:
passwd $USERNAME using your regular account's username. -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue