1 .\" Generated from pam_get_item.c by gendoc.pl
2 .\" $OpenPAM: pam_get_item.c 938 2017-04-30 21:34:42Z des $
8 .Nd get PAM information
11 .In security/pam_appl.h
13 .Fn pam_get_item "const pam_handle_t *pamh" "int item_type" "const void **item"
17 function stores a pointer to the item specified by
20 argument in the location pointed to by the
23 The item is retrieved from the PAM context specified by the
30 argument is untouched.
32 The following item types are recognized:
35 The name of the requesting service.
37 The name of the user the application is trying to
40 The name of the current terminal.
42 The name of the applicant's host.
46 describing the current conversation
49 The current authentication token.
51 The expired authentication token.
53 The name of the applicant.
54 .It Dv PAM_USER_PROMPT
55 The prompt to use when asking the applicant for a user
56 name to authenticate as.
57 .It Dv PAM_AUTHTOK_PROMPT
58 The prompt to use when asking the applicant for an
60 .It Dv PAM_OLDAUTHTOK_PROMPT
61 The prompt to use when asking the applicant for an
62 expired authentication token prior to changing it.
64 The name of the host the application runs on.
75 function returns one of the following values:
79 .It Bq Er PAM_BAD_ITEM
80 Unrecognized or restricted item.
89 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
95 function and this manual page were
98 Project by ThinkSec AS and Network Associates Laboratories, the
99 Security Research Division of Network Associates, Inc.\& under
100 DARPA/SPAWAR contract N66001-01-C-8035
102 as part of the DARPA CHATS research program.
104 The OpenPAM library is maintained by
105 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .