motorhog
asked on
Reset Root Password on CentOS 6
I need to reset the root password on the PC which is used for the Voicemail and Auto Attendant system for our Phone System.
i am trying to follow the guide HERE however when I go to the grub menu there are two options listed. The boot options set are,
</rootvol LANG=en_US.UTF-8 rd_NO_DM rhgb quiet biosdevicename=0
have tried putting "1" at the end of each one (and also after the 'quiet' as described in the article) and booting as described. all that happens is the system starts to load does a file system check, saying that there are "Duplicate or Bad Blocks in use".
The system continues to load until it gets to a point in the attached image.
As you can see it is just asking for the root PW which I dont know. I need the PW to try and fix the filesystem error which is halting the boot process.
I am not an expert by any means with Linux so Any help is appreciated.
Thanks
i am trying to follow the guide HERE however when I go to the grub menu there are two options listed. The boot options set are,
</rootvol LANG=en_US.UTF-8 rd_NO_DM rhgb quiet biosdevicename=0
have tried putting "1" at the end of each one (and also after the 'quiet' as described in the article) and booting as described. all that happens is the system starts to load does a file system check, saying that there are "Duplicate or Bad Blocks in use".
The system continues to load until it gets to a point in the attached image.
As you can see it is just asking for the root PW which I dont know. I need the PW to try and fix the filesystem error which is halting the boot process.
I am not an expert by any means with Linux so Any help is appreciated.
Thanks
ASKER
Thanks for the reply Dan,
I have created a bootable USB copy of the latest Ubuntu release and booted successfully. however when i try and mount the root Partition i get an error saying
mount: unknown filesystem type 'LVM2_member' .
I have created a bootable USB copy of the latest Ubuntu release and booted successfully. however when i try and mount the root Partition i get an error saying
mount: unknown filesystem type 'LVM2_member' .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Dan, able to mount the volume as described and edit passwd file to remove the root password.
cheers
cheers
Reboot, boot from your system and the root password will be empty.
http://www.microhowto.info/howto/reset_a_forgotten_root_password_using_a_live_distribution.html
HTH,
Dan