cancel
Showing results for 
Search instead for 
Did you mean: 
  • 152 Views

Unable to Reset root password in rhel10

Jump to solution

I attempted to reset the root password in rhel10 using the init=/bin/bash method as described in the training book, and also tried the rd.break approach. With rd.break, the chroot command was not found, and when using init=/bin/bash, the server failed to boot and got stuck at system PID 1.

1 Solution

Accepted Solutions
Blue_bird
Starfighter Starfighter
Starfighter
  • 135 Views

@Sachinsaini 

Please follow the link for detailed steps:

https://learn.redhat.com/t5/Platform-Linux/Root-Password-Reset/m-p/47414#M3021

I think, If you are perfromig instructions on RHEL 10 and got an extra step you need to add:
3a. remove any console or vcosnole key value pairs from the line. 
After doind this you should be able to reset the root password for the server without any issue. 

Thanks

View solution in original post

1 Reply
Blue_bird
Starfighter Starfighter
Starfighter
  • 136 Views

@Sachinsaini 

Please follow the link for detailed steps:

https://learn.redhat.com/t5/Platform-Linux/Root-Password-Reset/m-p/47414#M3021

I think, If you are perfromig instructions on RHEL 10 and got an extra step you need to add:
3a. remove any console or vcosnole key value pairs from the line. 
After doind this you should be able to reset the root password for the server without any issue. 

Thanks

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