pam_sm_close_session (3)
Leading comments
Title: pam_sm_close_session Author: [FIXME: author] [see http://docbook.sf.net/el/author] Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> Date: 09/19/2013 Manual: Linux-PAM Manual Source: Linux-PAM Manual Language: English
NAME
pam_sm_close_session - PAM service function to terminate session managementSYNOPSIS
#define PAM_SM_SESSION
#include <security/pam_modules.h>
- PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv);
DESCRIPTION
This function is called to terminate a session. The only valid value for flags is zero or:
PAM_SILENT
- Do not emit any messages.
RETURN VALUES
PAM_SESSION_ERR
- Cannot make/remove an entry for the specified session.
PAM_SUCCESS
- The session was successfully terminated.
SEE ALSO
pam(3), pam_close_session(3), pam_sm_close_session(3), pam_strerror(3), PAM(8)