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
11 .In security/pam_appl.h
13 .Fn pam_open_session "pam_handle_t *pamh" "int flags"
17 sets up a user session for a previously
19 The session should later be torn down by a call to
20 .Xr pam_close_session 3 .
24 argument is the binary or of zero or more of the following
28 Do not emit any messages.
31 If any other bits are set,
38 function returns one of the following values:
44 .It Bq Er PAM_CONV_ERR
46 .It Bq Er PAM_PERM_DENIED
48 .It Bq Er PAM_SERVICE_ERR
49 Error in service module.
50 .It Bq Er PAM_SESSION_ERR
52 .It Bq Er PAM_SYMBOL_ERR
54 .It Bq Er PAM_SYSTEM_ERR
59 .Xr pam_close_session 3 ,
63 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
69 function and this manual page were
72 Project by ThinkSec AS and Network Associates Laboratories, the
73 Security Research Division of Network Associates, Inc.\& under
74 DARPA/SPAWAR contract N66001-01-C-8035
76 as part of the DARPA CHATS research program.
78 The OpenPAM library is maintained by
79 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .