1 .\" Generated by gendoc.pl
6 .Nm openpam_borrow_cred ,
7 .Nm openpam_free_data ,
8 .Nm openpam_free_envlist ,
9 .Nm openpam_get_feature ,
10 .Nm openpam_get_option ,
12 .Nm openpam_nullconv ,
13 .Nm openpam_readline ,
14 .Nm openpam_readlinev ,
15 .Nm openpam_readword ,
16 .Nm openpam_restore_cred ,
17 .Nm openpam_set_feature ,
18 .Nm openpam_set_option ,
19 .Nm openpam_straddch ,
30 .Nd Pluggable Authentication Modules Library
34 .In security/openpam.h
36 .Fn openpam_borrow_cred "pam_handle_t *pamh" "const struct passwd *pwd"
38 .Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status"
40 .Fn openpam_free_envlist "char **envlist"
42 .Fn openpam_get_feature "int feature" "int *onoff"
44 .Fn openpam_get_option "pam_handle_t *pamh" "const char *option"
46 .Fn openpam_log "int level" "const char *fmt" "..."
48 .Fn openpam_nullconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
50 .Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp"
52 .Fn openpam_readlinev "FILE *f" "int *lineno" "int *lenp"
54 .Fn openpam_readword "FILE *f" "int *lineno" "size_t *lenp"
56 .Fn openpam_restore_cred "pam_handle_t *pamh"
58 .Fn openpam_set_feature "int feature" "int onoff"
60 .Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value"
62 .Fn openpam_straddch "char **str" "size_t *size" "size_t *len" "int ch"
64 .Fn openpam_subst "const pam_handle_t *pamh" "char *buf" "size_t *bufsize" "const char *template"
66 .Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
68 .Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..."
70 .Fn pam_get_authtok "pam_handle_t *pamh" "int item" "const char **authtok" "const char *prompt"
72 .Fn pam_info "const pam_handle_t *pamh" "const char *fmt" "..."
74 .Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..."
76 .Fn pam_setenv "pam_handle_t *pamh" "const char *name" "const char *value" "int overwrite"
78 .Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
80 .Fn pam_vinfo "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
82 .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
84 .\" $OpenPAM: openpam.man 938 2017-04-30 21:34:42Z des $
87 These functions are OpenPAM extensions to the PAM API.
90 are, in the author's opinion, logical and necessary extensions to the
91 standard API, while those named
93 are either simple convenience functions, or functions intimately tied
94 to OpenPAM implementation details, and therefore not well suited to
97 .Xr openpam_borrow_cred 3 ,
98 .Xr openpam_free_data 3 ,
99 .Xr openpam_free_envlist 3 ,
100 .Xr openpam_get_feature 3 ,
101 .Xr openpam_get_option 3 ,
103 .Xr openpam_nullconv 3 ,
104 .Xr openpam_readline 3 ,
105 .Xr openpam_readlinev 3 ,
106 .Xr openpam_readword 3 ,
107 .Xr openpam_restore_cred 3 ,
108 .Xr openpam_set_feature 3 ,
109 .Xr openpam_set_option 3 ,
110 .Xr openpam_straddch 3 ,
111 .Xr openpam_subst 3 ,
112 .Xr openpam_ttyconv 3 ,
114 .Xr pam_get_authtok 3 ,
123 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
127 The OpenPAM library and this manual page were developed for the
129 Project by ThinkSec AS and Network Associates Laboratories, the
130 Security Research Division of Network Associates, Inc.\& under
131 DARPA/SPAWAR contract N66001-01-C-8035
133 as part of the DARPA CHATS research program.
135 The OpenPAM library is maintained by
136 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .