reset root password
Log in to a system and change the root password when the current root password has been lost.
Break into the rhel9 OS and change root user's password,
after changing root password, change hostname permanently
Solution 1:
Press ESC
to launch GRUB2 menu, press E
to edit the loader, find linux kernel loading line, add following string at the end of line:
Then press CTRL+X
to save and load the OS. After OS loads, type this commands:
Solution 2:
Press ESC
to launch GRUB2 menu, press E
to edit the loader, find linux kernel loading line, add following string at the end of line:
Then press CTRL+X
to save and load the OS. After OS loads, type this commands:
Solution 3:
Press ESC
to launch GRUB2 menu, press E
to edit the loader, find linux kernel loading line, add following string at the end of line:
Then press CTRL+X
to save and load the OS. After OS loads, type this commands:
Changing hostname:
Last updated
Was this helpful?