Hey, It happened to me that I got a VM copy of an RHEL4 Operating system. But, I don't know the root password. I followed the following steps.. Here you go..
At RHEL start-up screen, press any key before it is going to load the OS.
Then it will give a start up menu, here you have to type 'a' once.
It will give you a prompt to edit the existing start up options. Here you have to append 'single' to the existing command
Then you will be entering the OS with '#' prompt. There you have to give the following command
# passwd root
Give the password as you like..
Gotcha is that..it works only for basic installation without any special configuration for password/boot loader.
1 comment:
This is great info to know.
Post a Comment