Checking and changing the user's password using the PAM library and its modules
To use it, you need to modify the binary file:
chown root:root /<path-to>/chkpass chmod 4755 /<path-to>/chkpass