pam_script is a PAM that executes a script at the start and end of a session. Any PAM-aware application can use the module to perform arbitrary operations. It was originally written for cleaning up when a user logs out.
Release Notes: A bug in the dropping of privileges was fixed. The option parsing code was rewritten and an initgroups option was added.
Release Notes: Improved Makefile and Debian packaging scripts. Options to set the home directory and PAM_USER token in the environment.
Release Notes: This release fixes a bug that prevented building with PAM 0.99. There are minor documentation updates.
Release Notes: pam-script can now expose PAM_RHOST to the script.
Release Notes: Small changes were made to comply with Debian policy.