A careful examination of the /etc/passwd
and /etc/shadow
files reveal that the passwords stored are hashed using some form of hashing function.
A quick Google search reveals that by default, the passwords are encrypted using DES. If an entry begins with $
, then it indicates that some other hashing function was used.
For example, some entries on my Ubuntu machine begin with $6$
...
What do the various numbers represent?