1 .\" Generated from pam_chauthtok.c by gendoc.pl
2 .\" $Id: pam_chauthtok.c 648 2013-03-05 17:54:27Z des $
8 .Nd perform password related functions within the PAM framework
11 .In security/pam_appl.h
13 .Fn pam_chauthtok "pam_handle_t *pamh" "int flags"
17 function attempts to change the authentication token
18 for the user associated with the pam context specified by the
24 argument is the binary or of zero or more of the following
28 Do not emit any messages.
29 .It Dv PAM_CHANGE_EXPIRED_AUTHTOK
30 Change only those authentication tokens that have expired.
33 If any other bits are set,
40 function returns one of the following values:
44 .It Bq Er PAM_AUTHTOK_DISABLE_AGING
45 Authentication token aging disabled.
46 .It Bq Er PAM_AUTHTOK_ERR
47 Authentication token failure.
48 .It Bq Er PAM_AUTHTOK_LOCK_BUSY
49 Authentication token lock busy.
50 .It Bq Er PAM_AUTHTOK_RECOVERY_ERR
51 Failed to recover old authentication token.
54 .It Bq Er PAM_CONV_ERR
56 .It Bq Er PAM_PERM_DENIED
58 .It Bq Er PAM_SERVICE_ERR
59 Error in service module.
60 .It Bq Er PAM_SYMBOL_ERR
62 .It Bq Er PAM_SYSTEM_ERR
64 .It Bq Er PAM_TRY_AGAIN
72 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
78 function and this manual page were
81 Project by ThinkSec AS and Network Associates Laboratories, the
82 Security Research Division of Network Associates, Inc.\& under
83 DARPA/SPAWAR contract N66001-01-C-8035
85 as part of the DARPA CHATS research program.
87 The OpenPAM library is maintained by
88 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .