
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 48.1K Views
Can someone please describe which is the correct way to reset forgotten root password in RHEL9? As someone mentioned in some other post, rd.break method doesnt work in RHEL9.
Tnx

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,772 Views
Hi @Andres_Tarallo , I miss understand your context. You mean you just installed virtualbox/vmware RHEL9.0 and rd.break didn't work? Then you tried Tracy_Baker solution and it worked?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,700 Views
I'm practicing on the online labs of RH134.In my home lab right now I don't have a clean install of RHEL 9.0. Tested on Rocky 9.2 works fine.
In the labs of chapter 10 I was able to reset the password (with rd.break ) on lab boot-selecting. but I couldn't on lab boot-resetting. In this lab (boot-resetting) I succeded with Tracy Baker solution.
What might be broken looks like the boot-resetting lab.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,438 Views
@Andres_Tarallo , you typed below command on your online labs?
[student@workstation ~]$ lab start boot-review

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,373 Views
Prior doing the lab I typed:
lab start boot-resetting
After that I've tryed the instruction on the lab. The boot stops asking root password.. Then tryed Tracy Baker solution, managed to reset the password.
Doing further investigation I've started the previous (on the manual) lab (typed lab start boot-selecting). On that configuration I did reset the password with the rd.break trick.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,680 Views
@Andres_Tarallo , Do you use telegram? I want to discuss more about changing the root password

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,665 Views
I have found a solution to my issue, you can try adding
rd.break console=tty0
Rather than just rd.break
This should work fine then follow the other instructions
# mount -o remount,rw /sysroot/
# chroot /sysroot/
# passwd root
Enter new password
# touch /.autorelabel
this is very important
Then exit
And reboot
It worked for me and just rd.break didn’t work
Let me know how it goes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,659 Views
Did you tried this oh RH134 labs?
It's intresting !!! Thanks for sharing
Andrés

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,656 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,650 Views
Try it on a VM with RHEL 9.0. The EX200 exam is on RHEL 9.0, I've tryed on the labs of RH134 in one is not working as intended.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 497 Views