unix_chkpwd
It is typically installed setuid root or setgid shadow.
The interface of the helper - command line options, and input/output data format are internal to the pam_unix module and it should not be called directly from applications.
pam_unix(8)
Written by Andrew Morgan and other various people.