openpam.3 revision 1.12
$NetBSD: openpam.3,v 1.12 2023/06/30 21:46:20 christos Exp $
Generated by gendoc.pl
.Dd June 27, 2023 .Dt OPENPAM 3 .Os .Sh NAME .Nm openpam_borrow_cred , .Nm openpam_free_data , .Nm openpam_free_envlist , .Nm openpam_get_feature , .Nm openpam_get_option , .Nm openpam_log , .Nm openpam_nullconv , .Nm openpam_readline , .Nm openpam_readlinev , .Nm openpam_readword , .Nm openpam_restore_cred , .Nm openpam_set_feature , .Nm openpam_set_option , .Nm openpam_straddch , .Nm openpam_subst , .Nm openpam_ttyconv , .Nm pam_error , .Nm pam_get_authtok , .Nm pam_info , .Nm pam_prompt , .Nm pam_setenv , .Nm pam_verror , .Nm pam_vinfo , .Nm pam_vprompt .Nd Pluggable Authentication Modules Library .Sh LIBRARY .Lb libpam .Sh SYNOPSIS n security/openpam.h .Ft "int" .Fn openpam_borrow_cred "pam_handle_t *pamh" "const struct passwd *pwd" .Ft "void" .Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status" .Ft "void" .Fn openpam_free_envlist "char **envlist" .Ft "int" .Fn openpam_get_feature "int feature" "int *onoff" .Ft "const char *" .Fn openpam_get_option "pam_handle_t *pamh" "const char *option" .Ft "void" .Fn openpam_log "int level" "const char *fmt" "..." .Ft "int" .Fn openpam_nullconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data" .Ft "char *" .Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp" .Ft "char **" .Fn openpam_readlinev "FILE *f" "int *lineno" "int *lenp" .Ft "char *" .Fn openpam_readword "FILE *f" "int *lineno" "size_t *lenp" .Ft "int" .Fn openpam_restore_cred "pam_handle_t *pamh" .Ft "int" .Fn openpam_set_feature "int feature" "int onoff" .Ft "int" .Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value" .Ft "int" .Fn openpam_straddch "char **str" "size_t *size" "size_t *len" "int ch" .Ft "int" .Fn openpam_subst "const pam_handle_t *pamh" "char *buf" "size_t *bufsize" "const char *template" .Ft "int" .Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data" .Ft "int" .Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..." .Ft "int" .Fn pam_get_authtok "pam_handle_t *pamh" "int item" "const char **authtok" "const char *prompt" .Ft "int" .Fn pam_info "const pam_handle_t *pamh" "const char *fmt" "..." .Ft "int" .Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..." .Ft "int" .Fn pam_setenv "pam_handle_t *pamh" "const char *name" "const char *value" "int overwrite" .Ft "int" .Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap" .Ft "int" .Fn pam_vinfo "const pam_handle_t *pamh" "const char *fmt" "va_list ap" .Ft "int" .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap" .Sh DESCRIPTION These functions are OpenPAM extensions to the PAM API. Those named .Fn pam_* are, in the author's opinion, logical and necessary extensions to the standard API, while those named .Fn openpam_* are either simple convenience functions, or functions intimately tied to OpenPAM implementation details, and therefore not well suited to standardization. .Sh SEE ALSO .Xr openpam_borrow_cred 3 , .Xr openpam_free_data 3 , .Xr openpam_free_envlist 3 , .Xr openpam_get_feature 3 , .Xr openpam_get_option 3 , .Xr openpam_log 3 , .Xr openpam_nullconv 3 , .Xr openpam_readline 3 , .Xr openpam_readlinev 3 , .Xr openpam_readword 3 , .Xr openpam_restore_cred 3 , .Xr openpam_set_feature 3 , .Xr openpam_set_option 3 , .Xr openpam_straddch 3 , .Xr openpam_subst 3 , .Xr openpam_ttyconv 3 , .Xr pam_error 3 , .Xr pam_get_authtok 3 , .Xr pam_info 3 , .Xr pam_prompt 3 , .Xr pam_setenv 3 , .Xr pam_verror 3 , .Xr pam_vinfo 3 , .Xr pam_vprompt 3 .Sh STANDARDS .Rs .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" .%D "June 1997" .Re .Sh AUTHORS The OpenPAM library and this manual page were developed for the .Fx Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
Generated by gendoc.pl
.Dd June 27, 2023 .Dt OPENPAM 3 .Os .Sh NAME .Nm openpam_borrow_cred , .Nm openpam_free_data , .Nm openpam_free_envlist , .Nm openpam_get_feature , .Nm openpam_get_option , .Nm openpam_log , .Nm openpam_nullconv , .Nm openpam_readline , .Nm openpam_readlinev , .Nm openpam_readword , .Nm openpam_restore_cred , .Nm openpam_set_feature , .Nm openpam_set_option , .Nm openpam_straddch , .Nm openpam_subst , .Nm openpam_ttyconv , .Nm pam_error , .Nm pam_get_authtok , .Nm pam_info , .Nm pam_prompt , .Nm pam_setenv , .Nm pam_verror , .Nm pam_vinfo , .Nm pam_vprompt .Nd Pluggable Authentication Modules Library .Sh LIBRARY .Lb libpam .Sh SYNOPSIS n security/openpam.h .Ft "int" .Fn openpam_borrow_cred "pam_handle_t *pamh" "const struct passwd *pwd" .Ft "void" .Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status" .Ft "void" .Fn openpam_free_envlist "char **envlist" .Ft "int" .Fn openpam_get_feature "int feature" "int *onoff" .Ft "const char *" .Fn openpam_get_option "pam_handle_t *pamh" "const char *option" .Ft "void" .Fn openpam_log "int level" "const char *fmt" "..." .Ft "int" .Fn openpam_nullconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data" .Ft "char *" .Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp" .Ft "char **" .Fn openpam_readlinev "FILE *f" "int *lineno" "int *lenp" .Ft "char *" .Fn openpam_readword "FILE *f" "int *lineno" "size_t *lenp" .Ft "int" .Fn openpam_restore_cred "pam_handle_t *pamh" .Ft "int" .Fn openpam_set_feature "int feature" "int onoff" .Ft "int" .Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value" .Ft "int" .Fn openpam_straddch "char **str" "size_t *size" "size_t *len" "int ch" .Ft "int" .Fn openpam_subst "const pam_handle_t *pamh" "char *buf" "size_t *bufsize" "const char *template" .Ft "int" .Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data" .Ft "int" .Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..." .Ft "int" .Fn pam_get_authtok "pam_handle_t *pamh" "int item" "const char **authtok" "const char *prompt" .Ft "int" .Fn pam_info "const pam_handle_t *pamh" "const char *fmt" "..." .Ft "int" .Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..." .Ft "int" .Fn pam_setenv "pam_handle_t *pamh" "const char *name" "const char *value" "int overwrite" .Ft "int" .Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap" .Ft "int" .Fn pam_vinfo "const pam_handle_t *pamh" "const char *fmt" "va_list ap" .Ft "int" .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap" .Sh DESCRIPTION These functions are OpenPAM extensions to the PAM API. Those named .Fn pam_* are, in the author's opinion, logical and necessary extensions to the standard API, while those named .Fn openpam_* are either simple convenience functions, or functions intimately tied to OpenPAM implementation details, and therefore not well suited to standardization. .Sh SEE ALSO .Xr openpam_borrow_cred 3 , .Xr openpam_free_data 3 , .Xr openpam_free_envlist 3 , .Xr openpam_get_feature 3 , .Xr openpam_get_option 3 , .Xr openpam_log 3 , .Xr openpam_nullconv 3 , .Xr openpam_readline 3 , .Xr openpam_readlinev 3 , .Xr openpam_readword 3 , .Xr openpam_restore_cred 3 , .Xr openpam_set_feature 3 , .Xr openpam_set_option 3 , .Xr openpam_straddch 3 , .Xr openpam_subst 3 , .Xr openpam_ttyconv 3 , .Xr pam_error 3 , .Xr pam_get_authtok 3 , .Xr pam_info 3 , .Xr pam_prompt 3 , .Xr pam_setenv 3 , .Xr pam_verror 3 , .Xr pam_vinfo 3 , .Xr pam_vprompt 3 .Sh STANDARDS .Rs .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" .%D "June 1997" .Re .Sh AUTHORS The OpenPAM library and this manual page were developed for the .Fx Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
q Dq CBOSS , as part of the DARPA CHATS research program.
p The OpenPAM library is maintained by .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .