Fedora Magazine - https://fedoramagazine.org/reset-root-password-fedora/
A system administrator can easily reset a password for a user that has forgotten their password. But what happens if the system administrator forgets the root password? This guide will show you how to reset a lost or forgotten root password. Note that to reset the root password, you need to have physical access to the machine in order to reboot and to access GRUB settings. Additionally, if the system is encrypted, you will also need to know the LUKS passphrase.
Edit the GRUB settings
First you need to interrupt the boot process. So you’ll need to turn on the