1 .\" ** You probably do not want to edit this file directly **
2 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
3 .\" Instead of manually editing it, you probably should edit the DocBook XML
4 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
5 .TH "PAM_CLOSE_SESSION" "3" "02/12/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
6 .\" disable hyphenation
8 .\" disable justification (adjust text to left margin only)
11 pam_close_session \- terminating PAM session management
14 \fB#include <security/pam_appl.h>\fR
16 \fBint\ \fBpam_close_session\fR\fR\fB(\fR\fBpam_handle_t\ *\fR\fB\fIpamh\fR\fR\fB, \fR\fBint\ \fR\fB\fIflags\fR\fR\fB);\fR
20 \fBpam_close_session\fR
21 function is used to indicate that an authenticated session has ended. The session should have been created with a call to
22 \fBpam_open_session\fR(3).
24 It should be noted that the effective uid,
25 \fBgeteuid\fR(2). of the application should be of sufficient privilege to perform such tasks as unmounting the user's home directory for example.
27 The flags argument is the binary or of zero or more of the following values:
30 Do not emit any messages.
43 Session was successful terminated.
46 \fBpam_open_session\fR(3),