Fedora Docs: Question about unlocking the root account

I accidentally removed sudo privileges from my only user and didn’t unlock a root account before doing it. I know I can unlock it using a live disk, but there is a lack of clarity in one step.
I am told to follow this doc to unlock the bootloader and later set a root password as in this doc.

The question is, do I need to sync && exit before setting the password for a root user?


So I can follow this document even if I haven’t set a root password before? I think this document is for people who have forgotten their password.

It doesn’t matter whether the password is locked or forgotten.

Thanks :slightly_smiling_face:

1 Like