fedora-silverblue / silverblue-docs

Fedora Silverblue documentation
https://docs.fedoraproject.org/en-US/fedora-silverblue/
63 stars 76 forks source link

Add root password reset steps for Silverblue #106

Closed barnscott closed 6 months ago

barnscott commented 3 years ago

I've seen a few people ask for help with root password reset on Silverblue on the discourse forum. This solution worked for me, so I thought I'd share it.

Can someone else test these steps? Would be good to get confirmation that these steps are appropriate and "best practice".

barnscott commented 3 years ago

I should note that most of this is heavily plagiarized from another Fedora doc. I assume that is satisfactory, but let me know if otherwise.

https://docs.fedoraproject.org/en-US/quick-docs/reset-root-password/#sect-how-to-reset-the-password-from-emergency-or-single-user-mode

vojteskas commented 3 years ago

Thanks for the steps! Just tested them on my machine (with encrypted drive) and they do indeed work for me aswell. On a side note, I think two of the steps could use some clarification:

Also, I am not sure if everyone is familiar with using vi/vim, especially as nano replaced it as a default text editor. I don't know which approach is the best, but in my humble opinion there should perhaps be a link to a tutorial of using vi, or at least a comment that any other text editor such as nano can also be used. This is probably nitpicking but I thought I would share my thoughts about it.

travier commented 2 years ago

If this is mostly a copy of another doc, could we add a link to that doc instead of copy/pasting the content? If there are changes needed there to adapt to Silverblue, I think it would be fine to add them there.

travier commented 6 months ago

This has been merged with https://github.com/fedora-silverblue/silverblue-docs/pull/171. Thanks