mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Added authors, category, tag; Link to grub2 article, specifically regarding BTRFS (see comment hhlp), removed Wiki transition warning.
This commit is contained in:
parent
947ea2e4c2
commit
1d980de58b
1 changed files with 11 additions and 8 deletions
|
@ -1,9 +1,16 @@
|
||||||
[[chap-how-to-reset-a-root-password]]
|
[[chap-how-to-reset-a-root-password]]
|
||||||
= How to Reset the root Password
|
= How to Reset the root Password
|
||||||
|
The Fedora docs team
|
||||||
|
:revnumber: F35
|
||||||
|
:revdate: 2022-01-10
|
||||||
|
:category: Administration
|
||||||
|
:tags: Password
|
||||||
|
|
||||||
include::{partialsdir}/unreviewed-message.adoc[]
|
[abstract]
|
||||||
|
____
|
||||||
|
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`. This article describes how to proceed if you have used a root password, but for some reason you can no longer access it.
|
||||||
|
____
|
||||||
|
|
||||||
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
|
||||||
|
@ -74,11 +81,8 @@ You may have to do a hard-reboot and start back at step 1.
|
||||||
. Reboot the machine with:
|
. Reboot the machine with:
|
||||||
+
|
+
|
||||||
[source,bash]
|
[source,bash]
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
/sbin/reboot -f
|
/sbin/reboot -f
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
The system may take a moment to boot while SELinux relabels its permissions on the filesystem.
|
The system may take a moment to boot while SELinux relabels its permissions on the filesystem.
|
||||||
|
@ -89,11 +93,10 @@ Once it is complete, your system is ready and your root password has been succes
|
||||||
== How to reset the root password with a Fedora Live Media
|
== How to reset the root password with a Fedora Live Media
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
|
|
||||||
====
|
====
|
||||||
|
|
||||||
To download and create a live USB of Fedora Workstation, follow the instructions on the xref:creating-and-using-a-live-installation-image.adoc[Fedora USB Live Media Quick Doc].
|
To download and create a live USB of Fedora Workstation, follow the instructions on the xref:creating-and-using-a-live-installation-image.adoc[Fedora USB Live Media Quick Doc].
|
||||||
|
For additional information, specifically about live media using BTRFS, see also
|
||||||
|
https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/#restoring-bootloader-using-live-disk[Restoring the bootloader using the Live disk]
|
||||||
====
|
====
|
||||||
|
|
||||||
. Boot the Live installation media and choose `Try Fedora`.
|
. Boot the Live installation media and choose `Try Fedora`.
|
||||||
|
|
Loading…
Reference in a new issue