1 .\" Generated from pam_sm_chauthtok.c by gendoc.pl
2 .\" $Id: pam_sm_chauthtok.c 648 2013-03-05 17:54:27Z des $
8 .Nd service module implementation for pam_chauthtok
13 .In security/pam_appl.h
14 .In security/pam_modules.h
16 .Fn pam_sm_chauthtok "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
20 function is the service module's implementation
25 When the application calls
27 the service function is
28 called twice, first with the
30 flag set and then again
32 .Dv PAM_UPDATE_AUTHTOK
37 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 des@des.no .