Docs
How to reset forgotten root Password in Fedora 34.

How to reset forgotten root Password in Fedora 34.

March 7, 2024
Tags:  · 
Create an Utho account to try this guide with a $100 credit.

Resetting Password in Fedora 34

For resetting password Reboot the server and interrupt booting process by pressing up and down arrow key and press e button from keyboard

After that find the line starting with linux and append that line with “rw init=/bin/bash” And then press Ctrl+x

Now enter passwd command for resetting password

#passwd root

Now reboot the system by using /sbin/reboot -f command

#sbin/reboot -f

Now After reboot you can access your server with new password

Thankyou :)

Create an Utho account to try this guide with a $100 credit.