I am getting conflicting information about resetting the root password in the RH134 book.
The instructions tell us to append rd.break to the end of the Linux line in the GRUB2 menu, but this method only works when you edit the rescue kernel entry, not the default kernel entry.
Will we have access to the rescue kernel on the exam? If not, it is impossible to reset the root password using the method provided (rd.break).
**a better question might be: does the exam use RHEL 9.0 or RHEL 9.1?**
Hi,
My advice is to learn both methods: the one with rd.break in rescue kernel and the one with init=/bin/bash in any kernel.
Regards,
Tshimanga
can you explain more the second method, please?
@khokha I actually have a nice lab to practice with that second method! It's part of day 7 of my Linux+ class.
The lab starts on the slide numbered 58 in this PDF -> https://github.com/unixerius/XK0-005/blob/main/Lesson%20007%20-%20Boot%20process%20and%20modules/007...
Thanks
I am not entirely sure the init=/bin/bash method works for RHEL 9 anymore. I get a hung terminal when I use that method with an error that says something about system-journal sent SIGTERM by systemd.
Interesting finding @Antonio03 , I will need to test this with my students! We still use RHEL8 and derivatives, but this is something we can quickly test.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.