Update modules/ROOT/pages/reset-root-password.adoc

Updated comments to work. Thank you for the help and feedback!
This commit is contained in:
Mat McCabe 2022-01-28 03:45:55 +00:00
parent 8d7b8e6c27
commit 00400ab322

View file

@ -3,7 +3,7 @@
include::{partialsdir}/unreviewed-message.adoc[] include::{partialsdir}/unreviewed-message.adoc[]
Installing Fedora requires a root password be set up. A root password may be set up while installing Fedora Linux, although it is now suggested to leave the root account locked and use `sudo`.
There are two common methods to reset the root password if it is forgotten or lost. There are two common methods to reset the root password if it is forgotten or lost.
* In Rescue Mode * In Rescue Mode
@ -27,9 +27,9 @@ To boot the system into rescue mode using `bash` follow these steps:
. Select the boot entry you wish to edit with the arrow keys. . Select the boot entry you wish to edit with the arrow keys.
. Select the entry you with to edit by pressing *E*. . Select the entry you with to edit by pressing *e*.
. Use the arrow keys to go to select the line `linux`, `linux16`, or `linuxefi`. . Use the arrow keys to go to select the line begging with `linux`, `linux16`, or `linuxefi`.
. Go the the end of that line and include a space and the following `rw init=/bin/bash`. . Go the the end of that line and include a space and the following `rw init=/bin/bash`.
[Note] [Note]
@ -81,7 +81,7 @@ You may have to do a hard-reboot and start back at step 1.
---- ----
The system may take a moment to boot while SELinux rebuilds it's permissions on the filesystem. The system may take a moment to boot while SELinux relabels its permissions on the filesystem.
If you see the Plymouth boot screen you can press the `ESC` key on your keyboard to view the SELinux progress. If you see the Plymouth boot screen you can press the `ESC` key on your keyboard to view the SELinux progress.
Once it is complete, your system is ready and your root password has been successfully changed. Once it is complete, your system is ready and your root password has been successfully changed.