John the ripper is a software to check for weak passwords in your system. The package is called john.
To install john, for example under SUSE Linux:
yast -i john
Example:
john /etc/shadow