1 .\" Generated from pam_setcred.c by gendoc.pl
2 .\" $Id: pam_setcred.c 648 2013-03-05 17:54:27Z des $
8 .Nd modify / delete user credentials for an authentication service
13 .In security/pam_appl.h
15 .Fn pam_setcred "pam_handle_t *pamh" "int flags"
19 function manages the application's credentials.
23 argument is the binary or of zero or more of the following
27 Do not emit any messages.
28 .It Dv PAM_ESTABLISH_CRED
29 Establish the credentials of the target user.
30 .It Dv PAM_DELETE_CRED
31 Revoke all established credentials.
32 .It Dv PAM_REINITIALIZE_CRED
33 Fully reinitialise credentials.
34 .It Dv PAM_REFRESH_CRED
38 The latter four are mutually exclusive.
40 If any other bits are set,
47 function returns one of the following values:
53 .It Bq Er PAM_CONV_ERR
55 .It Bq Er PAM_CRED_ERR
56 Failed to set user credentials.
57 .It Bq Er PAM_CRED_EXPIRED
58 User credentials have expired.
59 .It Bq Er PAM_CRED_UNAVAIL
60 Failed to retrieve user credentials.
61 .It Bq Er PAM_PERM_DENIED
63 .It Bq Er PAM_SERVICE_ERR
64 Error in service module.
65 .It Bq Er PAM_SYMBOL_ERR
67 .It Bq Er PAM_SYSTEM_ERR
69 .It Bq Er PAM_USER_UNKNOWN
77 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
83 function and this manual page were
86 Project by ThinkSec AS and Network Associates Laboratories, the
87 Security Research Division of Network Associates, Inc.\& under
88 DARPA/SPAWAR contract N66001-01-C-8035
90 as part of the DARPA CHATS research program.
92 The OpenPAM library is maintained by
93 .An Dag-Erling Sm\(/orgrav Aq des@des.no .