1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_close_session.c by gendoc.pl 2ce77a8d6SDag-Erling Smørgrav.\" $Id: pam_close_session.c 648 2013-03-05 17:54:27Z des $ 3*f3b0ac34SDag-Erling Smørgrav.Dd February 19, 2017 45c1eca55SDag-Erling Smørgrav.Dt PAM_CLOSE_SESSION 3 55c1eca55SDag-Erling Smørgrav.Os 65c1eca55SDag-Erling Smørgrav.Sh NAME 75c1eca55SDag-Erling Smørgrav.Nm pam_close_session 85c1eca55SDag-Erling Smørgrav.Nd close an existing user session 95c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS 10644f2b7cSDag-Erling Smørgrav.In sys/types.h 115c1eca55SDag-Erling Smørgrav.In security/pam_appl.h 12ca236e63SDag-Erling Smørgrav.Ft "int" 135c1eca55SDag-Erling Smørgrav.Fn pam_close_session "pam_handle_t *pamh" "int flags" 145c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION 15183bda37SDag-Erling SmørgravThe 162f3ed619SDag-Erling Smørgrav.Fn pam_close_session 17183bda37SDag-Erling Smørgravfunction tears down the user session previously 18183bda37SDag-Erling Smørgravset up by 19183bda37SDag-Erling Smørgrav.Xr pam_open_session 3 . 20183bda37SDag-Erling Smørgrav.Pp 21183bda37SDag-Erling SmørgravThe 22b33ab329SDag-Erling Smørgrav.Fa flags 23183bda37SDag-Erling Smørgravargument is the binary or of zero or more of the following 24183bda37SDag-Erling Smørgravvalues: 25183bda37SDag-Erling Smørgrav.Bl -tag -width 18n 26183bda37SDag-Erling Smørgrav.It Dv PAM_SILENT 27183bda37SDag-Erling SmørgravDo not emit any messages. 28183bda37SDag-Erling Smørgrav.El 29ee02aaa9SDag-Erling Smørgrav.Pp 30183bda37SDag-Erling SmørgravIf any other bits are set, 312f3ed619SDag-Erling Smørgrav.Fn pam_close_session 32183bda37SDag-Erling Smørgravwill return 33183bda37SDag-Erling Smørgrav.Dv PAM_SYMBOL_ERR . 345c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES 355c1eca55SDag-Erling SmørgravThe 362f3ed619SDag-Erling Smørgrav.Fn pam_close_session 375c1eca55SDag-Erling Smørgravfunction returns one of the following values: 3846acc370SDag-Erling Smørgrav.Bl -tag -width 18n 3946acc370SDag-Erling Smørgrav.It Bq Er PAM_ABORT 4046acc370SDag-Erling SmørgravGeneral failure. 4146acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR 4246acc370SDag-Erling SmørgravMemory buffer error. 4346acc370SDag-Erling Smørgrav.It Bq Er PAM_CONV_ERR 4446acc370SDag-Erling SmørgravConversation failure. 4546acc370SDag-Erling Smørgrav.It Bq Er PAM_PERM_DENIED 4646acc370SDag-Erling SmørgravPermission denied. 4746acc370SDag-Erling Smørgrav.It Bq Er PAM_SERVICE_ERR 4846acc370SDag-Erling SmørgravError in service module. 4946acc370SDag-Erling Smørgrav.It Bq Er PAM_SESSION_ERR 5046acc370SDag-Erling SmørgravSession failure. 51183bda37SDag-Erling Smørgrav.It Bq Er PAM_SYMBOL_ERR 52183bda37SDag-Erling SmørgravInvalid symbol. 5346acc370SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR 5446acc370SDag-Erling SmørgravSystem error. 555c1eca55SDag-Erling Smørgrav.El 565c1eca55SDag-Erling Smørgrav.Sh SEE ALSO 5746acc370SDag-Erling Smørgrav.Xr pam 3 , 58183bda37SDag-Erling Smørgrav.Xr pam_open_session 3 , 5946acc370SDag-Erling Smørgrav.Xr pam_strerror 3 605c1eca55SDag-Erling Smørgrav.Sh STANDARDS 615c1eca55SDag-Erling Smørgrav.Rs 625c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" 635c1eca55SDag-Erling Smørgrav.%D "June 1997" 645c1eca55SDag-Erling Smørgrav.Re 655c1eca55SDag-Erling Smørgrav.Sh AUTHORS 665c1eca55SDag-Erling SmørgravThe 672f3ed619SDag-Erling Smørgrav.Fn pam_close_session 682f3ed619SDag-Erling Smørgravfunction and this manual page were 692f3ed619SDag-Erling Smørgravdeveloped for the 70ca236e63SDag-Erling Smørgrav.Fx 712f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the 729bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under 73ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035 745c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS , 755c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program. 76ce77a8d6SDag-Erling Smørgrav.Pp 77ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by 78*f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 79