1 .\" Generated from pam_open_session.c by gendoc.pl
2 .\" $Id: pam_open_session.c 648 2013-03-05 17:54:27Z des $
8 .Nd open a user session
13 .In security/pam_appl.h
15 .Fn pam_open_session "pam_handle_t *pamh" "int flags"
19 sets up a user session for a previously
21 The session should later be torn down by a call to
22 .Xr pam_close_session 3 .
26 argument is the binary or of zero or more of the following
30 Do not emit any messages.
33 If any other bits are set,
40 function returns one of the following values:
46 .It Bq Er PAM_CONV_ERR
48 .It Bq Er PAM_PERM_DENIED
50 .It Bq Er PAM_SERVICE_ERR
51 Error in service module.
52 .It Bq Er PAM_SESSION_ERR
54 .It Bq Er PAM_SYMBOL_ERR
56 .It Bq Er PAM_SYSTEM_ERR
61 .Xr pam_close_session 3 ,
65 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
71 function and this manual page were
74 Project by ThinkSec AS and Network Associates Laboratories, the
75 Security Research Division of Network Associates, Inc.\& under
76 DARPA/SPAWAR contract N66001-01-C-8035
78 as part of the DARPA CHATS research program.
80 The OpenPAM library is maintained by
81 .An Dag-Erling Sm\(/orgrav Aq des@des.no .