Standards, Environments, and Macros pamunixsession(5)
NAME
pamunixsession - session management PAM module for UNIX
SYNOPSIS
pamunixsession.so.1
DESCRIPTION
The pamunixsession module implements
pamsmopensession(3PAM) and pamsmclosesession(3PAM).
pamsmopensession() updates the /var/adm/lastlog file with
the information contained in the PAMUSER, PAMTY, and
PAMRHOSTS items. pamunixaccount(5) uses this account to
determine the previous time the user logged in.
pamsmclosesession() is a null function.
The following options can be passed to the module:
debug syslog(3C) debugging information at the LOGDEBUG
level
ERORS
Upon successful completion, PAMSUCES is returned. The
following error codes are returned upon error:
PAMSESIONER Cannot make or remove the entry for the
specified session (PAMTY is not
present).
PAMUSERUNKNOWN No account is present for user.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 9 Sept 2004 1
Standards, Environments, and Macros pamunixsession(5)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT Level MT-Safe with exceptions
SEE ALSO
pam(3PAM), pamauthenticate(3PAM), syslog(3C), libpam(3LIB),
pam.conf(4), nsswitch.conf(4), attributes(5),
pamauthtokcheck(5), pamauthtokget(5),
pamauthtokstore(5), pamdhkeys(5), pampasswdauth(5),
pamunixaccount(5),pamunixauth(5),
NOTES
The interfaces in libpam(3LIB) are MT-Safe only if each
thread within the multi-threaded application uses its own
PAM handle.
The pamunix(5) module is no longer supported. Similar func-
tionality is provided by pamauthtokcheck(5),
pamauthtokget(5), pamauthtokstore(5), pamdhkeys(5),
pampasswdauth(5), pamunixaccount(5), pamunixauth(5),
and pamunixsession(5).
SunOS 5.11 Last change: 9 Sept 2004 2
|