Forgot root password for Redhat Enterprise linux
Hi
I'm running redhat Linux Enterprise Version 3 on my notebook and have forgotten my root password. Therefore I'm unable to things requiring root permission. How can I retrieve it without having to do a reinstall? regards geordzilla |
If you can get your hands on a knoppix liveCD (or any liveCD), then resetting your root password will be a piece of cake.
Quote:
Peace V Here's a link: http://www.knoppix.net/wiki/Rescue_F....2FLinux.21.3F |
Or boot the os in single user mode (init 1)
then at the prompt use passwd to reset the password. |
Quote:
But how to boot the system in single user mode....??? suppose if the 'init' level is set such that it goes directly into GUI, then when we are suppose to switch the mode ? moreover if it comes to console instead of GUI.....then also we have to give the login and passwd first... If a user is logging with a user account other than "root" .....then will he get the permission to edit /etc/inittab ??? regards |
hello,
- To boot into single-user mode from GRUB, do the following from the GRUB menu screen: 1. Select the desired kernel. 2. Press the 'e' key to edit that entry. 3. Use the arrow keys to navigate to the kernel line (for example: kernel /vmlinuz-2.6.x-x ro root=/dev/hdx2) 4. Press the 'e' key to edit the line. 5. Add the argument 'single' to the end of the line and press return. 6. Press the 'b' key to boot. cheers, |
Thanks teebones
Peace V |
Forgot root pass word
Hello
I read teebones' suggestion on single-user mode from GRUB. I still don't get it. How do I get to the GRUB menu screen? Do I use the installation CD to get to GRUB? TAnx. geordzilla |
All times are GMT -5. The time now is 05:38 PM. |