cancel
Showing results for 
Search instead for 
Did you mean: 
MuSa
Mission Specialist
Mission Specialist
  • 24.2K Views

RH134 / RH199: RHEL9.0 Lab reset root password using rd.break not working

Jump to solution

I followed the steps in the document, but I was asked to give the root password.

Here is what I did:

1. On the Grub menu type e

2. Append rd.break to the end of the line starting with linux

3. Hit Ctrl+x

It boots to this:

Give root password for maintenance
(or press Control-D to continue):_

Any tips, please!?

root_pw_reset01.pngroot_pw_reset02.png

53 Replies
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 2,679 Views

I'm not sure what you mean by "changed"... Those are the instructions that have been used since RHEL 7.0.

https://www.redhat.com/sysadmin/recover-root-passwd

They will not work for RHEL 9.0

They will work for RHEL 8.x, 9.1, and 9.2.

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
  • 286 Views

Answer not found.

0 Kudos
melnajim
Flight Engineer
Flight Engineer
  • 256 Views
rc.break not work I was knowing when I had began
0 Kudos
  • 287 Views

I am facing this problem in a recent exam. Your solution does not work at all. There may be other problems linking with the OS and VM machine. Most likely the problem lies with the partition system with the VM working machine. So developers should rethink and examinee, what they face. We are not so blind that, we cannot write and solve the simple solution. Otherwise, how can we sit for the exam even though this exam is so hard and time is limited? We do not have enough time to troubleshoot it. Reconsider this problem in all platforms and all scopes. I faced this problem last week in an exam centre. I will not recommend your answer at all. Even in the Red Hat lab, that solution not working as I tried in version 9.1. I try most of the time to reset and rebuild my OS. But working in 9.3 with a VM machine. Why, do you have any answer?

Tags (1)
0 Kudos
don2023
Cadet
Cadet
  • 286 Views
This is the worst exam for anyone to do

Sent from Outlook for Android<>
0 Kudos
Guile
Cadet
Cadet
  • 2,628 Views

I had this issue becouse the creation playbook has failed. After re-running the playbook it worked fine.

Captura de Tela 2023-09-02 às 12.47.45.png

AnaV
Flight Engineer
Flight Engineer
  • 2,097 Views

Hi there,

None of the options indicated in this discussion works. Any chance someone would review the current RH134 9.0 lab and get it fixed?

AnaV
Flight Engineer
Flight Engineer
  • 2,093 Views

Right, seems to work with init=/bin/sh. Good to know.

AnaV
Flight Engineer
Flight Engineer
  • 2,092 Views

Well, not really.

/sysroot does not exists, ok, so I mounted /

chroot is not found

and then exit hungs the VM.

Chetan_Tiwary_
Community Manager
Community Manager
  • 2,056 Views

@AnaV I have tried this exercise for the nth time succesfully - and did not face any issue since a long time now: simply followed the exercise as instructed and it went on smoothly : Are you selecting the resuce kernel boot loader entry and editing it ?

 Screenshot from 2024-05-08 22-43-46.png

once the server is up , I was able to login with the updated password :

Screenshot from 2024-05-08 22-54-13.png

Please raise a support case in case you are getting error even after follpwing the steps and our support team will help / guide you. 

0 Kudos
Join the discussion
You must log in to join this conversation.