Fedora 41 Change root password
You can change your root password on several ways, if you forgot it. The short way sudo su passwd or sudo passwd root Or the long way Restart the system: Restart the system or switch it on. GRUB menu: Press a key (e or c) during the startup process to edit the GRUB startup menu (the boot loader). Edit boot parameters: Find the line that starts with linux or linuxefi. Add a new parameter at the end of this line….