cancel
Showing results for 
Search instead for 
Did you mean: 
  • 7,238 Views

reset password from rd.break not working

I am was unable to use the root password that i had reset by following the below  steps. I was getting login denied

1. On the Grub menu type e

2. edit the Linux16  with rd.break

3. hit Ctrl+x

4. mount -o rw,remount /sysroot

5.chroot /sysroot

6. passwd

7. Enter password again

8. echo / .autorelabel

Labels (1)
16 Replies
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 4,949 Views

In Step 8, you probably mean to either touch /.autorelabel , or echo "" > /.autorelabel . 

Tags (1)
  • 4,946 Views

oops.!!!

0 Kudos
Satyajit
Mission Specialist
Mission Specialist
  • 4,939 Views

I tried on my system and touch /.autorelabel is worked well.

0 Kudos
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 4,934 Views

glad it worked . Please consider tagging my reply as an answer to the original question, as to help future readers ...

Cheers!

slopezh
Cadet
Cadet
  • 4,907 Views

in my case when adding the rd.break on node 2 never allowed me to continue typing the rest I type ctlt+x and it was asking me for root passwoord

 

0 Kudos
Satyajit
Mission Specialist
Mission Specialist
  • 4,902 Views

Can you please paste the steps and screenshot if possible? Also, can you please tell me the System Architecture (how many nodes or it is cluster of multiple nodes etc.)

0 Kudos
slopezh
Cadet
Cadet
  • 4,891 Views

redhat 9 , and

1. On the Grub menu type e

2. edit the line that start with Linux and add in the end rd.break

3. hit Ctrl+x

4.- then it was asking me for root password

0 Kudos
Satyajit
Mission Specialist
Mission Specialist
  • 4,854 Views

TBH, in my case it is working fine.

There might be other disk related encryption might be enabled or something.

 

0 Kudos
benlimanto
Flight Engineer
Flight Engineer
  • 4,360 Views

I also exprience the same on delivering the RH134 courses, can anyone including @Tracy_Baker could confirm does on RHA VM on Cloud works?

There are chat happen around with Red Hat Employee on https://www.reddit.com/r/redhat/comments/v1tjay/strange_situation_root_password_reset_rhel_9/iapvlhf...

I can't use rd.break both on servera or even on workstation. I remember back in the day, this bug exist on 8.2 also... At that time, I still have workaround using

ro init=/bin/bash

on the linux grub line, as the lab still allow it, now I can't do it anymore.

Any help is appreciated

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