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...")
(No difference)

Revision as of 10:38, 22 November 2021

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..

chroot /sysroot
passwd root

Wait and confirm that you get all authentication tokens updated successfully