1 .\" Generated from pam_sm_chauthtok.c by gendoc.pl
2 .\" $OpenPAM: pam_sm_chauthtok.c 938 2017-04-30 21:34:42Z des $
8 .Nd service module implementation for pam_chauthtok
11 .In security/pam_appl.h
12 .In security/pam_modules.h
14 .Fn pam_sm_chauthtok "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
18 function is the service module's implementation
23 When the application calls
25 the service function is
26 called twice, first with the
28 flag set and then again
30 .Dv PAM_UPDATE_AUTHTOK
35 function returns one of the following values:
41 .It Bq Er PAM_AUTHTOK_DISABLE_AGING
42 Authentication token aging disabled.
43 .It Bq Er PAM_AUTHTOK_ERR
44 Authentication token failure.
45 .It Bq Er PAM_AUTHTOK_LOCK_BUSY
46 Authentication token lock busy.
47 .It Bq Er PAM_AUTHTOK_RECOVERY_ERR
48 Failed to recover old authentication token.
51 .It Bq Er PAM_CONV_ERR
55 .It Bq Er PAM_PERM_DENIED
57 .It Bq Er PAM_SERVICE_ERR
58 Error in service module.
59 .It Bq Er PAM_SYSTEM_ERR
61 .It Bq Er PAM_TRY_AGAIN
70 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
76 function and this manual page were
79 Project by ThinkSec AS and Network Associates Laboratories, the
80 Security Research Division of Network Associates, Inc.\& under
81 DARPA/SPAWAR contract N66001-01-C-8035
83 as part of the DARPA CHATS research program.
85 The OpenPAM library is maintained by
86 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .