Linux-password-reset-root: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
(Created page with "Really interesting way to reset a forgotten root password on Rocky. The assumption is that this will also work for other RHEL releases, although it has not been tested at all...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Really interesting way to reset a forgotten root password on Rocky.  The assumption is that this will also work for other RHEL releases, although it has not been tested at all..
Really interesting way to reset a forgotten root password on Rocky.  The assumption is that this will also work for other RHEL releases, although it has not been tested at all..
The link is from [https://www.tecmint.com/reset-forgotten-root-password-in-rocky-linux-almalinux/|Password reset for root user]


<pre>
<pre>
Line 7: Line 8:
Wait and confirm that you get all authentication tokens updated successfully
Wait and confirm that you get all authentication tokens updated successfully
</pre>
</pre>
[[Category:RHEL]]

Latest revision as of 19:24, 17 May 2023

Really interesting way to reset a forgotten root password on Rocky. The assumption is that this will also work for other RHEL releases, although it has not been tested at all.. The link is from reset for root user

chroot /sysroot
passwd root

Wait and confirm that you get all authentication tokens updated successfully