forgot root passwd urgent
Hi,
i have a problem make me in troble. i need root password. i installed redhat 7.2 but i cant login as root user. it is urgent for me. meanwhile i only installed text mode. not graphic. many thanks |
Use a linux rescue disk. Boot into rescue mode and mount the filesystem that has /etc on.
cd to /etc chroot . /bin/bash run the passwd command cd back to the rescue disk umount /etc filesystem reboot |
if you still have the cdroms, boot the first one and pick rescue mode. see if there is a utility to change the password from there. if not, we'll tell you some more ways.
|
If you have the installation disk, run it
1) at the boot prompt enter "linux-rescue" 2) enter details about your root partition then do "chroot /mnt/sysimage" 3) run "passwd" and enter a new root password. 4) reboot your system. |
************* if u have not bootable media u can try this ************
At the grub press "a" on keyboard and after getting the grub prompt press <spacebar>1 it should look like this <grub> 1 and then press enter now u are residing in the kernel u can change the password from here |
All times are GMT -5. The time now is 12:06 PM. |