1 1.5 christos <<<<<<< pam_setcred.3 2 1.4 christos .\" $NetBSD: pam_setcred.3,v 1.5 2014/10/24 18:17:56 christos Exp $ 3 1.1 christos .\" 4 1.5 christos ======= 5 1.5 christos >>>>>>> 1.1.1.4 6 1.4 christos .\" Generated from pam_setcred.c by gendoc.pl 7 1.4 christos .\" Id: pam_setcred.c 648 2013-03-05 17:54:27Z des 8 1.5 christos .Dd September 12, 2014 9 1.1 christos .Dt PAM_SETCRED 3 10 1.1 christos .Os 11 1.1 christos .Sh NAME 12 1.1 christos .Nm pam_setcred 13 1.1 christos .Nd modify / delete user credentials for an authentication service 14 1.1 christos .Sh LIBRARY 15 1.1 christos .Lb libpam 16 1.1 christos .Sh SYNOPSIS 17 1.1 christos .In sys/types.h 18 1.1 christos .In security/pam_appl.h 19 1.1 christos .Ft "int" 20 1.1 christos .Fn pam_setcred "pam_handle_t *pamh" "int flags" 21 1.1 christos .Sh DESCRIPTION 22 1.1 christos The 23 1.3 christos .Fn pam_setcred 24 1.1 christos function manages the application's credentials. 25 1.1 christos .Pp 26 1.1 christos The 27 1.1 christos .Fa flags 28 1.1 christos argument is the binary or of zero or more of the following 29 1.1 christos values: 30 1.1 christos .Bl -tag -width 18n 31 1.1 christos .It Dv PAM_SILENT 32 1.1 christos Do not emit any messages. 33 1.1 christos .It Dv PAM_ESTABLISH_CRED 34 1.1 christos Establish the credentials of the target user. 35 1.1 christos .It Dv PAM_DELETE_CRED 36 1.1 christos Revoke all established credentials. 37 1.1 christos .It Dv PAM_REINITIALIZE_CRED 38 1.1 christos Fully reinitialise credentials. 39 1.1 christos .It Dv PAM_REFRESH_CRED 40 1.1 christos Refresh credentials. 41 1.1 christos .El 42 1.1 christos .Pp 43 1.1 christos The latter four are mutually exclusive. 44 1.1 christos .Pp 45 1.1 christos If any other bits are set, 46 1.3 christos .Fn pam_setcred 47 1.1 christos will return 48 1.1 christos .Dv PAM_SYMBOL_ERR . 49 1.1 christos .Sh RETURN VALUES 50 1.1 christos The 51 1.3 christos .Fn pam_setcred 52 1.1 christos function returns one of the following values: 53 1.1 christos .Bl -tag -width 18n 54 1.1 christos .It Bq Er PAM_ABORT 55 1.1 christos General failure. 56 1.1 christos .It Bq Er PAM_BUF_ERR 57 1.1 christos Memory buffer error. 58 1.1 christos .It Bq Er PAM_CONV_ERR 59 1.1 christos Conversation failure. 60 1.1 christos .It Bq Er PAM_CRED_ERR 61 1.1 christos Failed to set user credentials. 62 1.1 christos .It Bq Er PAM_CRED_EXPIRED 63 1.1 christos User credentials have expired. 64 1.1 christos .It Bq Er PAM_CRED_UNAVAIL 65 1.1 christos Failed to retrieve user credentials. 66 1.1 christos .It Bq Er PAM_PERM_DENIED 67 1.1 christos Permission denied. 68 1.1 christos .It Bq Er PAM_SERVICE_ERR 69 1.1 christos Error in service module. 70 1.1 christos .It Bq Er PAM_SYMBOL_ERR 71 1.1 christos Invalid symbol. 72 1.1 christos .It Bq Er PAM_SYSTEM_ERR 73 1.1 christos System error. 74 1.1 christos .It Bq Er PAM_USER_UNKNOWN 75 1.1 christos Unknown user. 76 1.1 christos .El 77 1.1 christos .Sh SEE ALSO 78 1.1 christos .Xr pam 3 , 79 1.1 christos .Xr pam_strerror 3 80 1.1 christos .Sh STANDARDS 81 1.1 christos .Rs 82 1.1 christos .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" 83 1.1 christos .%D "June 1997" 84 1.1 christos .Re 85 1.1 christos .Sh AUTHORS 86 1.1 christos The 87 1.3 christos .Fn pam_setcred 88 1.3 christos function and this manual page were 89 1.3 christos developed for the 90 1.1 christos .Fx 91 1.3 christos Project by ThinkSec AS and Network Associates Laboratories, the 92 1.1 christos Security Research Division of Network Associates, Inc.\& under 93 1.1 christos DARPA/SPAWAR contract N66001-01-C-8035 94 1.1 christos .Pq Dq CBOSS , 95 1.1 christos as part of the DARPA CHATS research program. 96 1.4 christos .Pp 97 1.4 christos The OpenPAM library is maintained by 98 1.4 christos .An Dag-Erling Sm\(/orgrav Aq des (a] des.no . 99