1PAM_SM_OPEN_SESSION(3)         Linux-PAM Manual         PAM_SM_OPEN_SESSION(3)
2
3
4

NAME

6       pam_sm_open_session - PAM service function to start session management
7

SYNOPSIS

9       #define PAM_SM_SESSION
10
11       #include <security/pam_modules.h>
12
13       int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc,
14                               const char **argv);
15

DESCRIPTION

17       The pam_sm_open_session function is the service module's implementation
18       of the pam_open_session(3) interface.
19
20       This function is called to commence a session. The only valid value for
21       flags is zero or:
22
23       PAM_SILENT
24           Do not emit any messages.
25

RETURN VALUES

27       PAM_SESSION_ERR
28           Cannot make/remove an entry for the specified session.
29
30       PAM_SUCCESS
31           The session was successfully started.
32

SEE ALSO

34       pam(3), pam_open_session(3), pam_sm_close_session(3), pam_strerror(3),
35       PAM(8)
36
37
38
39Linux-PAM Manual                  05/18/2017            PAM_SM_OPEN_SESSION(3)
Impressum