1pam_unix_session(5)   Standards, Environments, and Macros  pam_unix_session(5)
2
3
4

NAME

6       pam_unix_session - session management PAM module for UNIX
7

SYNOPSIS

9       pam_unix_session.so.1
10
11

DESCRIPTION

13       The  pam_unix_session  module  implements pam_sm_open_session(3PAM) and
14       pam_sm_close_session(3PAM).
15
16
17       pam_sm_open_session() updates the /var/adm/lastlog file with the infor‐
18       mation  contained  in  the  PAM_USER,  PAM_TTY,  and  PAM_RHOSTS items.
19       pam_unix_account(5) uses this account to determine  the  previous  time
20       the user logged in.
21
22
23       pam_sm_close_session() is a null function.
24
25
26       The following options can be passed to the module:
27
28       debug    syslog(3C) debugging information at the LOG_DEBUG level
29
30

ERRORS

32       Upon  successful  completion,  PAM_SUCCESS  is  returned. The following
33       error codes are returned upon error:
34
35       PAM_SESSION_ERR     Cannot make or remove the entry for  the  specified
36                           session (PAM_TTY is not present).
37
38
39       PAM_USER_UNKNOWN    No account is present for user.
40
41

ATTRIBUTES

43       See attributes(5) for descriptions of the following attributes:
44
45
46
47
48       ┌─────────────────────────────┬─────────────────────────────┐
49       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │Interface Stability          │Evolving                     │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │MT Level                     │MT-Safe with exceptions      │
54       └─────────────────────────────┴─────────────────────────────┘
55

SEE ALSO

57       pam(3PAM),     pam_authenticate(3PAM),     syslog(3C),    libpam(3LIB),
58       pam.conf(4),  nsswitch.conf(4),  attributes(5),   pam_authtok_check(5),
59       pam_authtok_get(5),         pam_authtok_store(5),        pam_dhkeys(5),
60       pam_passwd_auth(5), pam_unix_account(5),pam_unix_auth(5),
61

NOTES

63       The interfaces in libpam(3LIB) are MT-Safe only if each  thread  within
64       the multi-threaded application uses its own PAM handle.
65
66
67       The pam_unix(5) module is no longer supported. Similar functionality is
68       provided   by   pam_authtok_check(5),   pam_authtok_get(5),   pam_auth‐
69       tok_store(5),  pam_dhkeys(5),  pam_passwd_auth(5), pam_unix_account(5),
70       pam_unix_auth(5), and pam_unix_session(5).
71
72
73
74SunOS 5.11                        9 Sept 2004              pam_unix_session(5)
Impressum