After reading this article at HappyLinuxGuy’s Happy Linux Thoughts page, I thought I might share with you a way to recover password on a *nix system. The commands and screenshots here will be Ubuntu oriented, but this basic process should work for any distro.
When you create an account on a Linux system, the password isn’t stored. Instead, the hash of the password is stored in /etc/shadow. Here is a portion of my shadow file: