1 .\" Generated from pam_sm_setcred.c by gendoc.pl
2 .\" $OpenPAM: pam_sm_setcred.c 938 2017-04-30 21:34:42Z des $
8 .Nd service module implementation for pam_setcred
11 .In security/pam_appl.h
12 .In security/pam_modules.h
14 .Fn pam_sm_setcred "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
18 function is the service module's implementation of
25 function returns one of the following values:
33 .It Bq Er PAM_CONV_ERR
35 .It Bq Er PAM_CRED_ERR
36 Failed to set user credentials.
37 .It Bq Er PAM_CRED_EXPIRED
38 User credentials have expired.
39 .It Bq Er PAM_CRED_UNAVAIL
40 Failed to retrieve user credentials.
43 .It Bq Er PAM_PERM_DENIED
45 .It Bq Er PAM_SERVICE_ERR
46 Error in service module.
47 .It Bq Er PAM_SYSTEM_ERR
49 .It Bq Er PAM_USER_UNKNOWN
58 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
64 function and this manual page were
67 Project by ThinkSec AS and Network Associates Laboratories, the
68 Security Research Division of Network Associates, Inc.\& under
69 DARPA/SPAWAR contract N66001-01-C-8035
71 as part of the DARPA CHATS research program.
73 The OpenPAM library is maintained by
74 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .