Changeset 64 in openpam for trunk/doc/man
- Timestamp:
- Feb 18, 2002, 7:34:54 PM (19 years ago)
- Location:
- trunk/doc/man
- Files:
-
- 8 added
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/man/pam.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM 3 38 38 .Os … … 83 83 .Fn pam_get_authtok "pam_handle_t *pamh" "const char **authtok" "const char *prompt" 84 84 .Ft int 85 .Fn pam_get_data "pam_handle_t *pamh" "const char *module_data_name" " void **data"85 .Fn pam_get_data "pam_handle_t *pamh" "const char *module_data_name" "const void **data" 86 86 .Ft int 87 87 .Fn pam_get_item "pam_handle_t *pamh" "int item_type" "const void **item" … … 120 120 .Sh DESCRIPTION 121 121 .Sh RETURN VALUES 122 The following return codes are defined in the 123 .In security/pam_constants.h 124 header: 125 .Bl -tag -width 18n 126 .It Bq Er PAM_ABORT 127 General failure. 128 .It Bq Er PAM_ACCT_EXPIRED 129 User accound has expired. 130 .It Bq Er PAM_AUTHINFO_UNAVAIL 131 Authentication information is unavailable. 132 .It Bq Er PAM_AUTHTOK_DISABLE_AGING 133 Authentication token aging disabled. 134 .It Bq Er PAM_AUTHTOK_ERR 135 Authentication token failure. 136 .It Bq Er PAM_AUTHTOK_EXPIRED 137 Password has expired. 138 .It Bq Er PAM_AUTHTOK_LOCK_BUSY 139 Authentication token lock busy. 140 .It Bq Er PAM_AUTHTOK_RECOVERY_ERR 141 Failed to recover old authentication token. 142 .It Bq Er PAM_AUTH_ERR 143 Authentication error. 144 .It Bq Er PAM_BUF_ERR 145 Memory buffer error. 146 .It Bq Er PAM_CONV_ERR 147 Conversation failure. 148 .It Bq Er PAM_CRED_ERR 149 Failed to set user credentials. 150 .It Bq Er PAM_CRED_EXPIRED 151 User credentials have expired. 152 .It Bq Er PAM_CRED_INSUFFICIENT 153 Insufficient credentials. 154 .It Bq Er PAM_CRED_UNAVAIL 155 Failed to retrieve user credentials. 156 .It Bq Er PAM_DOMAIN_UNKNOWN 157 Unknown authentication domain. 158 .It Bq Er PAM_IGNORE 159 Ignore this module. 160 .It Bq Er PAM_MAXTRIES 161 Maximum number of tries exceeded. 162 .It Bq Er PAM_MODULE_UNKNOWN 163 Unknown module type. 164 .It Bq Er PAM_NEW_AUTHTOK_REQD 165 New authentication token required. 166 .It Bq Er PAM_NO_MODULE_DATA 167 Module data not found. 168 .It Bq Er PAM_OPEN_ERR 169 Failed to load module. 170 .It Bq Er PAM_PERM_DENIED 171 Permission denied. 172 .It Bq Er PAM_SERVICE_ERR 173 Error in service module. 174 .It Bq Er PAM_SESSION_ERR 175 Session failure. 176 .It Bq Er PAM_SUCCESS 177 Success. 178 .It Bq Er PAM_SYMBOL_ERR 179 Invalid symbol. 180 .It Bq Er PAM_SYSTEM_ERR 181 System error. 182 .It Bq Er PAM_TRY_AGAIN 183 Try again. 184 .It Bq Er PAM_USER_UNKNOWN 185 Unknown user. 186 .El 122 187 .Sh SEE ALSO 123 188 .Xr pam_acct_mgmt 3 , -
trunk/doc/man/pam_acct_mgmt.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_ACCT_MGMT 3 38 38 .Os … … 47 47 .Fn pam_acct_mgmt "pam_handle_t *pamh" "int flags" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_ABORT 56 General failure. 57 .It Bq Er PAM_ACCT_EXPIRED 58 User accound has expired. 59 .It Bq Er PAM_AUTH_ERR 60 Authentication error. 61 .It Bq Er PAM_BUF_ERR 62 Memory buffer error. 63 .It Bq Er PAM_CONV_ERR 64 Conversation failure. 65 .It Bq Er PAM_NEW_AUTHTOK_REQD 66 New authentication token required. 67 .It Bq Er PAM_PERM_DENIED 68 Permission denied. 69 .It Bq Er PAM_SERVICE_ERR 70 Error in service module. 71 .It Bq Er PAM_SYSTEM_ERR 72 System error. 73 .It Bq Er PAM_USER_UNKNOWN 74 Unknown user. 57 75 .El 58 76 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 377 .Xr pam 3 , 78 .Xr pam_strerror 3 61 79 .Sh STANDARDS 62 80 .Rs -
trunk/doc/man/pam_authenticate.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_AUTHENTICATE 3 38 38 .Os … … 47 47 .Fn pam_authenticate "pam_handle_t *pamh" "int flags" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_ABORT 56 General failure. 57 .It Bq Er PAM_AUTHINFO_UNAVAIL 58 Authentication information is unavailable. 59 .It Bq Er PAM_AUTH_ERR 60 Authentication error. 61 .It Bq Er PAM_BUF_ERR 62 Memory buffer error. 63 .It Bq Er PAM_CONV_ERR 64 Conversation failure. 65 .It Bq Er PAM_CRED_INSUFFICIENT 66 Insufficient credentials. 67 .It Bq Er PAM_MAXTRIES 68 Maximum number of tries exceeded. 69 .It Bq Er PAM_PERM_DENIED 70 Permission denied. 71 .It Bq Er PAM_SERVICE_ERR 72 Error in service module. 73 .It Bq Er PAM_SYSTEM_ERR 74 System error. 75 .It Bq Er PAM_USER_UNKNOWN 76 Unknown user. 57 77 .El 58 78 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 379 .Xr pam 3 , 80 .Xr pam_strerror 3 61 81 .Sh STANDARDS 62 82 .Rs -
trunk/doc/man/pam_chauthtok.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_CHAUTHTOK 3 38 38 .Os … … 47 47 .Fn pam_chauthtok "pam_handle_t *pamh" "int flags" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_ABORT 56 General failure. 57 .It Bq Er PAM_AUTHTOK_DISABLE_AGING 58 Authentication token aging disabled. 59 .It Bq Er PAM_AUTHTOK_ERR 60 Authentication token failure. 61 .It Bq Er PAM_AUTHTOK_LOCK_BUSY 62 Authentication token lock busy. 63 .It Bq Er PAM_AUTHTOK_RECOVERY_ERR 64 Failed to recover old authentication token. 65 .It Bq Er PAM_BUF_ERR 66 Memory buffer error. 67 .It Bq Er PAM_CONV_ERR 68 Conversation failure. 69 .It Bq Er PAM_PERM_DENIED 70 Permission denied. 71 .It Bq Er PAM_SERVICE_ERR 72 Error in service module. 73 .It Bq Er PAM_SYSTEM_ERR 74 System error. 57 75 .El 58 76 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 377 .Xr pam 3 , 78 .Xr pam_strerror 3 61 79 .Sh STANDARDS 62 80 .Rs -
trunk/doc/man/pam_close_session.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_CLOSE_SESSION 3 38 38 .Os … … 47 47 .Fn pam_close_session "pam_handle_t *pamh" "int flags" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_ABORT 56 General failure. 57 .It Bq Er PAM_BUF_ERR 58 Memory buffer error. 59 .It Bq Er PAM_CONV_ERR 60 Conversation failure. 61 .It Bq Er PAM_PERM_DENIED 62 Permission denied. 63 .It Bq Er PAM_SERVICE_ERR 64 Error in service module. 65 .It Bq Er PAM_SESSION_ERR 66 Session failure. 67 .It Bq Er PAM_SYSTEM_ERR 68 System error. 57 69 .El 58 70 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 371 .Xr pam 3 , 72 .Xr pam_strerror 3 61 73 .Sh STANDARDS 62 74 .Rs -
trunk/doc/man/pam_end.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_END 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function terminates a PAM transaction and destroys the 52 corresponding PAM context, releasing all resources allocated to it. 53 .Pp 54 The 55 .Va status 56 argument should be set to the error code returned by the 57 last API call before the call to 58 .Nm 59 . 52 60 .Sh RETURN VALUES 53 61 The 54 . Fn62 .Nm 55 63 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 64 .Bl -tag -width 18n 65 .It Bq Er PAM_SYSTEM_ERR 66 System error. 57 67 .El 58 68 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 369 .Xr pam 3 , 70 .Xr pam_strerror 3 61 71 .Sh STANDARDS 62 72 .Rs -
trunk/doc/man/pam_error.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_ERROR 3 38 38 .Os … … 48 48 .Sh DESCRIPTION 49 49 The 50 .Nm 51 function is not yet documented. 50 .Xr pam_info 3 51 function displays an error message through the 52 intermediary of the given PAM context's conversation function. 53 .Pp 52 54 .Sh RETURN VALUES 53 55 The 54 . Fn56 .Nm 55 57 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 58 .Bl -tag -width 18n 59 .It Bq Er PAM_BUF_ERR 60 Memory buffer error. 61 .It Bq Er PAM_CONV_ERR 62 Conversation failure. 63 .It Bq Er PAM_SYSTEM_ERR 64 System error. 57 65 .El 58 66 .Sh SEE ALSO 67 .Xr pam 3 , 68 .Xr pam_info 3 , 69 .Xr pam_prompt 3 , 59 70 .Xr pam_strerror 3 , 60 .Xr pam 371 .Xr pam_verror 3 61 72 .Sh STANDARDS 62 73 .Rs -
trunk/doc/man/pam_get_authtok.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GET_AUTHTOK 3 38 38 .Os … … 47 47 .Fn pam_get_authtok "pam_handle_t *pamh" "const char **authtok" "const char *prompt" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_BUF_ERR 56 Memory buffer error. 57 .It Bq Er PAM_CONV_ERR 58 Conversation failure. 59 .It Bq Er PAM_SYSTEM_ERR 60 System error. 57 61 .El 58 62 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 363 .Xr pam 3 , 64 .Xr pam_strerror 3 61 65 .Sh STANDARDS 62 66 .Rs -
trunk/doc/man/pam_get_data.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GET_DATA 3 38 38 .Os … … 45 45 .In security/pam_appl.h 46 46 .Ft int 47 .Fn pam_get_data "pam_handle_t *pamh" "const char *module_data_name" " void **data"47 .Fn pam_get_data "pam_handle_t *pamh" "const char *module_data_name" "const void **data" 48 48 .Sh DESCRIPTION 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function looks up the opaque object associated with 52 the string specified by the 53 .Va module_data_name 54 argument, in the PAM 55 context specified by the 56 .Va pamh 57 argument. 58 A pointer to the object is stored in the location pointed to by the 59 .Va data 60 argument. 61 .Pp 62 This function and its counterpart 63 .Xr pam_set_data 3 64 are useful for managing 65 data that are meaningful only to a particular service module. 52 66 .Sh RETURN VALUES 53 67 The 54 . Fn68 .Nm 55 69 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 70 .Bl -tag -width 18n 71 .It Bq Er PAM_NO_MODULE_DATA 72 Module data not found. 73 .It Bq Er PAM_SYSTEM_ERR 74 System error. 57 75 .El 58 76 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 77 .Xr pam 3 , 78 .Xr pam_set_data 3 , 79 .Xr pam_strerror 3 61 80 .Sh STANDARDS 62 81 .Rs -
trunk/doc/man/pam_get_item.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GET_ITEM 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function stores a pointer to the item specified by 52 the 53 .Va item_type 54 argument in the location specified by the 55 .Va item 56 argument. 57 The item is retrieved from the PAM context specified by the 58 .Va pamh 59 argument. 60 The following item types are recognized: 61 .Bl -tag -width 18n 62 .It Dv PAM_SERVICE 63 The name of the requesting service. 64 .It Dv PAM_USER 65 The name of the user the application is trying to 66 authenticate. 67 .It Dv PAM_TTY 68 The name of the current terminal. 69 .It Dv PAM_RHOST 70 The name of the applicant's host. 71 .It Dv PAM_CONV 72 A 73 .Vt struct pam_conv 74 describing the current conversation 75 function. 76 .It Dv PAM_AUTHTOK 77 The current authentication token. 78 .It Dv PAM_OLDAUTHTOK 79 The expired authentication token. 80 .It Dv PAM_RUSER 81 The name of the applicant. 82 .It Dv PAM_USER_PROMPT 83 The prompt to use when asking the applicant for a user 84 name to authenticate as. 85 .It Dv PAM_AUTHTOK_PROMPT 86 The prompt to use when asking the applicant for an 87 authentication token. 88 .El 89 See 90 .Xr pam_start 3 91 for a description of 92 .Vt struct pam_conv . 93 .Pp 52 94 .Sh RETURN VALUES 53 95 The 54 . Fn96 .Nm 55 97 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 98 .Bl -tag -width 18n 99 .It Bq Er PAM_SYMBOL_ERR 100 Invalid symbol. 101 .It Bq Er PAM_SYSTEM_ERR 102 System error. 57 103 .El 58 104 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 105 .Xr pam 3 , 106 .Xr pam_set_item 3 , 107 .Xr pam_start 3 , 108 .Xr pam_strerror 3 61 109 .Sh STANDARDS 62 110 .Rs -
trunk/doc/man/pam_get_user.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GET_USER 3 38 38 .Os … … 47 47 .Fn pam_get_user "pam_handle_t *pamh" "const char **user" "const char *prompt" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_BUF_ERR 56 Memory buffer error. 57 .It Bq Er PAM_CONV_ERR 58 Conversation failure. 59 .It Bq Er PAM_SYSTEM_ERR 60 System error. 57 61 .El 58 62 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 363 .Xr pam 3 , 64 .Xr pam_strerror 3 61 65 .Sh STANDARDS 62 66 .Rs -
trunk/doc/man/pam_getenv.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GETENV 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function returns the value of an environment variable. 52 Its semantics are similar to those of 53 .Xr getenv 3 , 54 but it accesses the PAM 55 context's environment list instead of the application's. 56 .Pp 52 57 .Sh RETURN VALUES 53 58 The 54 . Fn55 function returns one of the following values:56 . Bl -tag -width PAM_AUTHTOK_DISABLE_AGING57 .El 59 .Nm 60 function returns 61 .Dv NULL 62 on failure. 58 63 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 64 .Xr getenv 3 , 65 .Xr pam 3 , 66 .Xr pam_getenvlist 3 , 67 .Xr pam_putenv 3 , 68 .Xr pam_setenv 3 61 69 .Sh STANDARDS 62 70 .Rs -
trunk/doc/man/pam_getenvlist.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_GETENVLIST 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function returns a copy of the given PAM context's 52 environment list as a pointer to an array of strings. 53 The last element in the array is 54 .Dv NULL . 55 The pointer is suitable for assignment to 56 .Va environ . 57 .Pp 58 The array and the strings it lists are allocated using 59 .Xr malloc 3 , 60 and 61 should be released using 62 .Xr free 3 63 after use: 64 .Pp 65 .Bd -literal 66 char **envlist, **env; 67 68 envlist = environ; 69 environ = pam_getenvlist(pamh); 70 /* do something nifty */ 71 for (env = environ; *env != NULL; env++) 72 free(*env); 73 free(environ); 74 environ = envlist; 75 52 76 .Sh RETURN VALUES 53 77 The 54 . Fn55 function returns one of the following values:56 . Bl -tag -width PAM_AUTHTOK_DISABLE_AGING57 .El 78 .Nm 79 function returns 80 .Dv NULL 81 on failure. 58 82 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 83 .Xr environ 7 , 84 .Xr free 3 , 85 .Xr malloc 3 , 86 .Xr pam 3 , 87 .Xr pam_getenv 3 , 88 .Xr pam_putenv 3 , 89 .Xr pam_setenv 3 61 90 .Sh STANDARDS 62 91 .Rs -
trunk/doc/man/pam_info.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_INFO 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function displays an informational message through the 52 intermediary of the given PAM context's conversation function. 53 .Pp 52 54 .Sh RETURN VALUES 53 55 The 54 . Fn56 .Nm 55 57 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 58 .Bl -tag -width 18n 59 .It Bq Er PAM_BUF_ERR 60 Memory buffer error. 61 .It Bq Er PAM_CONV_ERR 62 Conversation failure. 63 .It Bq Er PAM_SYSTEM_ERR 64 System error. 57 65 .El 58 66 .Sh SEE ALSO 67 .Xr pam 3 , 68 .Xr pam_error 3 , 69 .Xr pam_prompt 3 , 59 70 .Xr pam_strerror 3 , 60 .Xr pam 371 .Xr pam_vinfo 3 61 72 .Sh STANDARDS 62 73 .Rs -
trunk/doc/man/pam_open_session.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_OPEN_SESSION 3 38 38 .Os … … 47 47 .Fn pam_open_session "pam_handle_t *pamh" "int flags" 48 48 .Sh DESCRIPTION 49 No description available. 50 .Sh RETURN VALUES 49 51 The 50 52 .Nm 51 function is not yet documented.52 .Sh RETURN VALUES53 The54 .Fn55 53 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 54 .Bl -tag -width 18n 55 .It Bq Er PAM_ABORT 56 General failure. 57 .It Bq Er PAM_BUF_ERR 58 Memory buffer error. 59 .It Bq Er PAM_CONV_ERR 60 Conversation failure. 61 .It Bq Er PAM_PERM_DENIED 62 Permission denied. 63 .It Bq Er PAM_SERVICE_ERR 64 Error in service module. 65 .It Bq Er PAM_SESSION_ERR 66 Session failure. 67 .It Bq Er PAM_SYSTEM_ERR 68 System error. 57 69 .El 58 70 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 371 .Xr pam 3 , 72 .Xr pam_strerror 3 61 73 .Sh STANDARDS 62 74 .Rs -
trunk/doc/man/pam_prompt.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_PROMPT 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function constructs a message from the specified format 52 string and arguments and passes it to the given PAM context's 53 conversation function. 54 .Pp 55 A pointer to the response, or 56 .Dv NULL 57 if the conversation function did 58 not return one, is stored in the location pointed to by the 59 .Va resp 60 argument. 61 .Pp 62 See 63 .Xr pam_vprompt 3 64 for further details. 65 .Pp 52 66 .Sh RETURN VALUES 53 67 The 54 . Fn68 .Nm 55 69 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 70 .Bl -tag -width 18n 71 .It Bq Er PAM_BUF_ERR 72 Memory buffer error. 73 .It Bq Er PAM_CONV_ERR 74 Conversation failure. 75 .It Bq Er PAM_SYSTEM_ERR 76 System error. 57 77 .El 58 78 .Sh SEE ALSO 79 .Xr pam 3 , 80 .Xr pam_error 3 , 81 .Xr pam_info 3 , 59 82 .Xr pam_strerror 3 , 60 .Xr pam 383 .Xr pam_vprompt 3 61 84 .Sh STANDARDS 62 85 .Rs -
trunk/doc/man/pam_putenv.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_PUTENV 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function sets a environment variable. 52 Its semantics are similar to those of 53 .Xr putenv 3 , 54 but it modifies the PAM 55 context's environment list instead of the application's. 56 .Pp 52 57 .Sh RETURN VALUES 53 58 The 54 . Fn59 .Nm 55 60 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 61 .Bl -tag -width 18n 62 .It Bq Er PAM_BUF_ERR 63 Memory buffer error. 64 .It Bq Er PAM_SYSTEM_ERR 65 System error. 57 66 .El 58 67 .Sh SEE ALSO 68 .Xr pam 3 , 69 .Xr pam_getenv 3 , 70 .Xr pam_getenvlist 3 , 71 .Xr pam_setenv 3 , 59 72 .Xr pam_strerror 3 , 60 .Xr p am373 .Xr putenv 3 61 74 .Sh STANDARDS 62 75 .Rs -
trunk/doc/man/pam_set_data.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_SET_DATA 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function associates a pointer to an opaque object 52 with an arbitrary string specified by the 53 .Va module_data_name 54 argument, 55 in the PAM context specified by the 56 .Va pamh 57 argument. 58 .Pp 59 If not 60 .Dv NULL , 61 the 62 .Xr cleanup 3 63 argument should point to a function 64 responsible for releasing the resources associated with the object. 65 .Pp 66 This function and its counterpart 67 .Xr pam_get_data 3 68 are useful for managing 69 data that are meaningful only to a particular service module. 52 70 .Sh RETURN VALUES 53 71 The 54 . Fn72 .Nm 55 73 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 74 .Bl -tag -width 18n 75 .It Bq Er PAM_BUF_ERR 76 Memory buffer error. 77 .It Bq Er PAM_SYSTEM_ERR 78 System error. 57 79 .El 58 80 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 81 .Xr cleanup 3 , 82 .Xr pam 3 , 83 .Xr pam_get_data 3 , 84 .Xr pam_strerror 3 61 85 .Sh STANDARDS 62 86 .Rs -
trunk/doc/man/pam_set_item.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_SET_ITEM 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function sets the item specified by the 52 .Va item_type 53 argument to a copy of the object pointed to by the 54 .Va item 55 argument. 56 The item is stored in the PAM context specified by the 57 .Va pamh 58 argument. 59 See 60 .Xr pam_get_item 3 61 for a list of recognized item types. 52 62 .Sh RETURN VALUES 53 63 The 54 . Fn64 .Nm 55 65 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 66 .Bl -tag -width 18n 67 .It Bq Er PAM_BUF_ERR 68 Memory buffer error. 69 .It Bq Er PAM_SYMBOL_ERR 70 Invalid symbol. 71 .It Bq Er PAM_SYSTEM_ERR 72 System error. 57 73 .El 58 74 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 75 .Xr pam 3 , 76 .Xr pam_get_item 3 , 77 .Xr pam_strerror 3 61 78 .Sh STANDARDS 62 79 .Rs -
trunk/doc/man/pam_setcred.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_SETCRED 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function manages the application's credentials. 52 The operation to perform is specified by the 53 .Va flags 54 argument: 55 .Bl -tag -width 18n 56 .It PAM_ESTABLISH_CRED 57 Establish the credentials of the target user. 58 .It PAM_DELETE_CRED 59 Revoke all established credentials. 60 .It PAM_REINITIALISE_CRED 61 Fully reinitialise credentials. 62 .It PAM_REFRESH_CRED 63 Refresh credentials. 52 64 .Sh RETURN VALUES 53 65 The 54 . Fn66 .Nm 55 67 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 68 .Bl -tag -width 18n 69 .It Bq Er PAM_ABORT 70 General failure. 71 .It Bq Er PAM_BUF_ERR 72 Memory buffer error. 73 .It Bq Er PAM_CONV_ERR 74 Conversation failure. 75 .It Bq Er PAM_CRED_ERR 76 Failed to set user credentials. 77 .It Bq Er PAM_CRED_EXPIRED 78 User credentials have expired. 79 .It Bq Er PAM_CRED_UNAVAIL 80 Failed to retrieve user credentials. 81 .It Bq Er PAM_PERM_DENIED 82 Permission denied. 83 .It Bq Er PAM_SERVICE_ERR 84 Error in service module. 85 .It Bq Er PAM_SYSTEM_ERR 86 System error. 87 .It Bq Er PAM_USER_UNKNOWN 88 Unknown user. 57 89 .El 58 90 .Sh SEE ALSO 59 .Xr pam _strerror3 ,60 .Xr pam 391 .Xr pam 3 , 92 .Xr pam_strerror 3 61 93 .Sh STANDARDS 62 94 .Rs -
trunk/doc/man/pam_setenv.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_SETENV 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function sets a environment variable. 52 Its semantics are similar to those of 53 .Xr setenv 3 , 54 but it modifies the PAM 55 context's environment list instead of the application's. 56 .Pp 52 57 .Sh RETURN VALUES 53 58 The 54 . Fn59 .Nm 55 60 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 61 .Bl -tag -width 18n 62 .It Bq Er PAM_BUF_ERR 63 Memory buffer error. 64 .It Bq Er PAM_SYSTEM_ERR 65 System error. 57 66 .El 58 67 .Sh SEE ALSO 68 .Xr pam 3 , 69 .Xr pam_getenv 3 , 70 .Xr pam_getenvlist 3 , 71 .Xr pam_putenv 3 , 59 72 .Xr pam_strerror 3 , 60 .Xr pam373 .Xr setenv 3 61 74 .Sh STANDARDS 62 75 .Rs -
trunk/doc/man/pam_start.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_START 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function creates and initializes a PAM context. 52 .Pp 53 The 54 .Va service 55 argument specifies the name of the policy to apply, and is 56 stored in the 57 .Dv PAM_SERVICE 58 item in the created context. 59 .Pp 60 The 61 .Va user 62 argument specifies the name of the target user - the user the 63 created context will serve to authenticate. 64 It is stored in the 65 .Dv PAM_USER 66 item in the created context. 67 .Pp 68 The 69 .Va pam_conv 70 argument points to a 71 .Vt struct pam_conv 72 describing the 73 conversation function to use. 74 This structure is defined as follows: 75 .Pp 76 .Bd -literal 77 struct pam_conv { 78 int (*conv)(int, const struct pam_message **, 79 struct pam_response **, void *); 80 void *appdata_ptr; 81 }; 82 52 83 .Sh RETURN VALUES 53 84 The 54 . Fn85 .Nm 55 86 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 87 .Bl -tag -width 18n 88 .It Bq Er PAM_BUF_ERR 89 Memory buffer error. 90 .It Bq Er PAM_SYSTEM_ERR 91 System error. 57 92 .El 58 93 .Sh SEE ALSO 59 .Xr pam_strerror 3 , 60 .Xr pam 3 94 .Xr pam 3 , 95 .Xr pam_end 3 , 96 .Xr pam_get_item 3 , 97 .Xr pam_set_item 3 , 98 .Xr pam_strerror 3 61 99 .Sh STANDARDS 62 100 .Rs -
trunk/doc/man/pam_strerror.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_STRERROR 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function returns a pointer to a string containing a 52 textual description of the error indicated by the 53 .Va error_number 54 argument, in the context of the PAM transaction described by the 55 .Va pamh 56 argument. 52 57 .Sh RETURN VALUES 53 58 The 54 . Fn55 function returns one of the following values:56 . Bl -tag -width PAM_AUTHTOK_DISABLE_AGING57 .El 59 .Nm 60 function returns 61 .Dv NULL 62 on failure. 58 63 .Sh SEE ALSO 59 .Xr pam_strerror 3 ,60 64 .Xr pam 3 61 65 .Sh STANDARDS -
trunk/doc/man/pam_verror.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_VERROR 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function passes its arguments to 52 .Xr pam_vprompt 3 53 with a 54 .Xr style 3 55 argument of 56 .Dv PAM_ERROR_MSG , 57 and discards the response. 58 .Pp 52 59 .Sh RETURN VALUES 53 60 The 54 . Fn61 .Nm 55 62 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 63 .Bl -tag -width 18n 64 .It Bq Er PAM_BUF_ERR 65 Memory buffer error. 66 .It Bq Er PAM_CONV_ERR 67 Conversation failure. 68 .It Bq Er PAM_SYSTEM_ERR 69 System error. 57 70 .El 58 71 .Sh SEE ALSO 72 .Xr 3 , 73 .Xr pam 3 , 74 .Xr pam_error 3 , 59 75 .Xr pam_strerror 3 , 60 .Xr pam 3 76 .Xr pam_vinfo 3 , 77 .Xr pam_vprompt 3 61 78 .Sh STANDARDS 62 79 .Rs -
trunk/doc/man/pam_vinfo.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_VINFO 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function passes its arguments to 52 .Xr pam_vprompt 3 53 with a 54 .Xr style 3 55 argument of 56 .Dv PAM_TEXT_INFO , 57 and discards the response. 58 .Pp 52 59 .Sh RETURN VALUES 53 60 The 54 . Fn61 .Nm 55 62 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 63 .Bl -tag -width 18n 64 .It Bq Er PAM_BUF_ERR 65 Memory buffer error. 66 .It Bq Er PAM_CONV_ERR 67 Conversation failure. 68 .It Bq Er PAM_SYSTEM_ERR 69 System error. 57 70 .El 58 71 .Sh SEE ALSO 72 .Xr 3 , 73 .Xr pam 3 , 74 .Xr pam_info 3 , 59 75 .Xr pam_strerror 3 , 60 .Xr pam 3 76 .Xr pam_verror 3 , 77 .Xr pam_vprompt 3 61 78 .Sh STANDARDS 62 79 .Rs -
trunk/doc/man/pam_vprompt.3
r45 r64 34 34 .\" $Id$ 35 35 .\" 36 .Dd February 9, 200236 .Dd February 18, 2002 37 37 .Dt PAM_VPROMPT 3 38 38 .Os … … 49 49 The 50 50 .Nm 51 function is not yet documented. 51 function constructs a string from the 52 .Va fmt 53 and 54 .Va ap 55 arguments using 56 .Xr vsnprintf 3 , 57 and passes it to the given PAM context's 58 conversation function. 59 .Pp 60 The 61 .Va style 62 argument specifies the type of interaction requested, and 63 must be one of the following: 64 .Bl -tag -width 18n 65 .It Dv PAM_PROMPT_ECHO_OFF 66 Display the message and obtain the user's response without 67 displaying it. 68 .It Dv PAM_PROMPT_ECHO_ON 69 Display the message and obtain the user's response. 70 .It Dv PAM_ERROR_MSG 71 Display the message as an error message, and do not wait 72 for a response. 73 .It Dv PAM_TEXT_INFO 74 Display the message as an informational message, and do 75 not wait for a response. 76 .El 77 A pointer to the response, or 78 .Dv NULL 79 if the conversation function did 80 not return one, is stored in the location pointed to by the 81 .Va resp 82 argument. 83 .Pp 84 The message and response should not exceed 85 .Dv PAM_MAX_MSG_SIZE 86 or 87 .Dv PAM_MAX_RESP_SIZE , 88 respectively. 89 If they do, they may be truncated. 90 .Pp 52 91 .Sh RETURN VALUES 53 92 The 54 . Fn93 .Nm 55 94 function returns one of the following values: 56 .Bl -tag -width PAM_AUTHTOK_DISABLE_AGING 95 .Bl -tag -width 18n 96 .It Bq Er PAM_BUF_ERR 97 Memory buffer error. 98 .It Bq Er PAM_CONV_ERR 99 Conversation failure. 100 .It Bq Er PAM_SYSTEM_ERR 101 System error. 57 102 .El 58 103 .Sh SEE ALSO 104 .Xr pam 3 , 105 .Xr pam_error 3 , 106 .Xr pam_info 3 , 107 .Xr pam_prompt 3 , 59 108 .Xr pam_strerror 3 , 60 .Xr pam 3 109 .Xr pam_verror 3 , 110 .Xr pam_vinfo 3 , 111 .Xr vsnprintf 3 61 112 .Sh STANDARDS 62 113 .Rs
Note: See TracChangeset
for help on using the changeset viewer.