Difference between revisions of "Linux password recovery rescue mode"
Jump to navigation
Jump to search
(Created page with "== RHEL 8 == This process should work for the most of distributions: # Edit kernel boot in Grub by pressing <code>e</code> # <code>ctrl+e</code> go to end of the line remove <...") |
(No difference)
|
Revision as of 22:53, 20 November 2019
RHEL 8
This process should work for the most of distributions:
- Edit kernel boot in Grub by pressing
e ctrl+ego to end of the line removero crashand addrd.break enforcing=0ctrl+xstart the system- Remount root fs
mount -o remount,re /sysroot - Switch into
chroot /sysroot - Reset password
passwd - Enable SELinux relabeling
touch /.autorelable - Exit shell
exit