Getting root password in RH9


Recommended Posts

My friend is running Red Hat 9 and he's forgotten his root password. He has a non-root account that he usually uses, and now he wants to install something but he's forgotten the root password :rolleyes:

There are many tools in Windows to get the admin password if you have access to the box... Are there any such tools for RH9? Brute force would work fine for him, if there are any programs for that.

Link to comment
Share on other sites

If he doesn't use a boot password, you can log into SINGLEUSER and set password for root there.

Other than that, the passwords are shadowed md5sumed, so little chance of cracking them....

Link to comment
Share on other sites

not sure where rh stores the passwords, but i assume they are in the standard path.

boot up the pc with a knoppix or any other livecd, login as root into the livecd-environment, chroot into your harddrive holding the root-partition of rh. then execute "passwd" and enter a new root password. reboot and be fine. verified that one with gentoo, using gentoo livecd & knoppix 3.3 for livecd-booting.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.