i92guboj |
06-05-2008 01:57 AM |
There's no easy way to recover a password unless it's really idiotic. You can google and read about johntheripper, which is a tool that can be used to break passwd files. It's commonly used to ensure that there are no weak passwords on a given system.
You can, however, set a new password for any user if you are logged in as root. If you can't login as root and the single user mode is disabled, boot off a livecd, mount your / partition anywhere, chroot into it and then use the passwd command to set a new root password. Once you have that, you can login as root on your own system and change any user's password with "passwd <username>".
|