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
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:
39 .It Bq Er PAM_AUTHTOK_DISABLE_AGING
40 Authentication token aging disabled.
41 .It Bq Er PAM_AUTHTOK_ERR
42 Authentication token failure.
43 .It Bq Er PAM_AUTHTOK_LOCK_BUSY
44 Authentication token lock busy.
45 .It Bq Er PAM_AUTHTOK_RECOVERY_ERR
46 Failed to recover old authentication token.
49 .It Bq Er PAM_CONV_ERR
53 .It Bq Er PAM_PERM_DENIED
55 .It Bq Er PAM_SERVICE_ERR
56 Error in service module.
57 .It Bq Er PAM_SYSTEM_ERR
59 .It Bq Er PAM_TRY_AGAIN
68 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
74 function and this manual page were
77 Project by ThinkSec AS and Network Associates Laboratories, the
78 Security Research Division of Network Associates, Inc.\& under
79 DARPA/SPAWAR contract N66001-01-C-8035
81 as part of the DARPA CHATS research program.
83 The OpenPAM library is maintained by
84 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .