Binary package “libpam-script” in ubuntu precise
PAM module which allows executing a script
This module will allow you to execute scripts during authorization,
password changes and sessions. This is very handy if your current
security application has no PAM support but is accessible with
perl or other scripts.