PAM_SM_CLOSE_SESSION(3) Linux-PAM Manual PAM_SM_CLOSE_SESSION(3)
NAME
pam_sm_close_session - PAM service function to terminate session
management
SYNOPSIS
#include <security/pam_modules.h>
int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc,
const char **argv);
DESCRIPTION
The pam_sm_close_session function is the service module's
implementation of the pam_close_session(3) interface.
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)
Linux-PAM Manual 09/03/2021 PAM_SM_CLOSE_SESSION(3)
Czas wygenerowania: 0.00034 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl