On Mon, Apr 08, 2002 at 02:15:41PM -0500, Reeves, Drue wrote: > Does anyone know if the module gets a notification when pam_end() is called? > > I'd like for my module to know when the pam aware application is unloaded, terminated or when pam_end() is called. I haven't checked the libpam sources, but I'd expect cleanup functions for PAM data items (which are registered with pam_set_data()) to be called by pam_end(). HTH, Nalin