OpenPAM/lib
Dag-Erling Smørgrav 81b5c45be2 Add a new API function, openpam_subst(3), which replaces substitution
codes in a string with the values of selected PAM items.  Use it for
prompts.

Furthermore, modify pam_get_user(3) and pam_get_authtok(3) to look for
module options named {user,authtok,oldauthtok}_prompt, as appropriate.
If found, these options take precedence over both the caller's prompt
and the PAM_{USER,AUTHTOK,OLDAUTHTOK}_PROMPT items.  The usefulness of
these options is somewhat limited by the fact that the policy file
parser does not support quoted strings; that's next on the todo list.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@455 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2011-10-29 18:31:11 +00:00
..
Makefile.am Add a new API function, openpam_subst(3), which replaces substitution 2011-10-29 18:31:11 +00:00
openpam_borrow_cred.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_configure.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_dispatch.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_dynamic.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_findenv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_free_data.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_free_envlist.c This was written long after the DARPA contract ended. 2011-10-22 02:47:36 +00:00
openpam_get_option.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_impl.h Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_load.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_log.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_nullconv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_readline.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_restore_cred.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_set_option.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_static.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
openpam_subst.c Add a new API function, openpam_subst(3), which replaces substitution 2011-10-29 18:31:11 +00:00
openpam_ttyconv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_acct_mgmt.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_authenticate.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_authenticate_secondary.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_chauthtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_close_session.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_end.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_error.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_get_authtok.c Add a new API function, openpam_subst(3), which replaces substitution 2011-10-29 18:31:11 +00:00
pam_get_data.c Document that the item argument (for pam_get_item(3)) and the data 2011-10-22 01:03:23 +00:00
pam_get_item.c Document that the item argument (for pam_get_item(3)) and the data 2011-10-22 01:03:23 +00:00
pam_get_mapped_authtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_get_mapped_username.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_get_user.c Add a new API function, openpam_subst(3), which replaces substitution 2011-10-29 18:31:11 +00:00
pam_getenv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_getenvlist.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_info.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_open_session.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_prompt.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_putenv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_set_data.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_set_item.c We already have PAM_USER, PAM_RUSER and PAM_RHOST. Add PAM_HOST for 2011-10-22 01:01:39 +00:00
pam_set_mapped_authtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_set_mapped_username.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_setcred.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_setenv.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_acct_mgmt.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_authenticate.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_authenticate_secondary.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_chauthtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_close_session.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_get_mapped_authtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_get_mapped_username.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_open_session.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_set_mapped_authtok.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_set_mapped_username.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_sm_setcred.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_start.c We already have PAM_USER, PAM_RUSER and PAM_RHOST. Add PAM_HOST for 2011-10-22 01:01:39 +00:00
pam_strerror.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_verror.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_vinfo.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00
pam_vprompt.c Update copyright and release notes. 2011-09-13 12:00:13 +00:00