diff options
Diffstat (limited to 'contrib/openpam/doc/man/pam_get_authtok.3')
-rw-r--r-- | contrib/openpam/doc/man/pam_get_authtok.3 | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/contrib/openpam/doc/man/pam_get_authtok.3 b/contrib/openpam/doc/man/pam_get_authtok.3 index d2cda79..7f0c804 100644 --- a/contrib/openpam/doc/man/pam_get_authtok.3 +++ b/contrib/openpam/doc/man/pam_get_authtok.3 @@ -1,6 +1,6 @@ .\"- .\" Copyright (c) 2001-2003 Networks Associates Technology, Inc. -.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav +.\" Copyright (c) 2004-2011 Dag-Erling Smørgrav .\" All rights reserved. .\" .\" This software was developed for the FreeBSD Project by ThinkSec AS and @@ -32,9 +32,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4$ +.\" $Id$ .\" -.Dd December 21, 2007 +.Dd December 18, 2011 .Dt PAM_GET_AUTHTOK 3 .Os .Sh NAME @@ -83,6 +83,25 @@ as appropriate, will be used. If that item is also .Dv NULL , a hardcoded default prompt will be used. +Either way, the prompt is expanded using +.Xr openpam_subst 3 +before it is +passed to the conversation function. +.Pp +If +.Nm +is called from a module and the +.Dv authtok_prompt +/ +.Dv oldauthtok_prompt +option is set in the policy file, the value of that +option takes precedence over both the +.Fa prompt +argument and the +.Dv PAM_AUTHTOK_PROMPT +/ +.Dv PAM_OLDAUTHTOK_PROMPT +item. .Pp If .Fa item @@ -114,6 +133,7 @@ System error. Try again. .El .Sh SEE ALSO +.Xr openpam_subst 3 , .Xr pam 3 , .Xr pam_get_item 3 , .Xr pam_get_user 3 , @@ -127,7 +147,8 @@ The .Nm function and this manual page were developed for the .Fx -Project by ThinkSec AS and Network Associates Laboratories, the +Project by +ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc.\& under DARPA/SPAWAR contract N66001-01-C-8035 .Pq Dq CBOSS , |