
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 45.8K 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
- 8,306 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,620 Views
@dkcbk thanks for you reply.
If i can ask you oone more question about the exam objectives, in RH124 lesson 14 isn't included in the exam as well as the RPM packages?

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,184 Views
Hi @Tracy_Baker ,
I just check RH199 and I confirm that rd.break works for RHEL 9.0
(updated 12-02-2024)
RHEL9.0 can only use rd.break on the second line, which includes the word "rescue", in direct testing, the documentation also instructs you to choose this line instead of the first line without the word "rescue". If you mistakenly choose the first line, sorry, it does not allow entering enter to operate but still requires the root password (what we are looking for). To solve it, Tracy_Baker's method is really perfect. Perfect to apply.
Additionally, this is actually not due to the error of the online training system because I tried downloading the RHEL9.0 ISO DVD on the homepage and checked that this error really exists.
In addition, I also want to know 2 information: will RHEL9.0 be used in the EX200 exam? If so, will the grub menu have a second line with the word "rescue"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,149 Views
how to break the root password in exam (rhel-9)
i try so much but can't break the passwd of root.
here what i did in exam
first i reboot the vim then select the first kernal press e then rd.break
then when i was run the command mount -o remount , rw /sysroot
but it was showing me the mount file do not exist .
anyone tell my the other way to break the root passwd ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 2,763 Views
Thanks for your solution works like a charm.
You may want to add rw in GRUB like:
rw init=/bin/bash
to skip mount -o remount, rw
br

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,237 Views
follow this blog that will be helpful for you and correct way to reset your root password.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,145 Views
I'm preparing to take RHCSA with RH134 labs. On the boot-resetting lab is was unable to do a password reset. If I add the rd.break I end up beeing asked the root password.
However, If I do try reset password on the boot-selecting lab It does work as intendend.
I should test the method showed by Tracy Baker.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,127 Views
I've tested the alternative method for resetting pssword on lab boot-resetting. It works fine.
I might do some testing on a fresh RHEL 9.0 install on my home lab.
Maybe I could put a bug-report/enhacement request somewhere