1 .\" Generated from pam_sm_setcred.c by gendoc.pl
2 .\" $Id: pam_sm_setcred.c 648 2013-03-05 17:54:27Z 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:
31 .It Bq Er PAM_CONV_ERR
33 .It Bq Er PAM_CRED_ERR
34 Failed to set user credentials.
35 .It Bq Er PAM_CRED_EXPIRED
36 User credentials have expired.
37 .It Bq Er PAM_CRED_UNAVAIL
38 Failed to retrieve user credentials.
41 .It Bq Er PAM_PERM_DENIED
43 .It Bq Er PAM_SERVICE_ERR
44 Error in service module.
45 .It Bq Er PAM_SYSTEM_ERR
47 .It Bq Er PAM_USER_UNKNOWN
56 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
62 function and this manual page were
65 Project by ThinkSec AS and Network Associates Laboratories, the
66 Security Research Division of Network Associates, Inc.\& under
67 DARPA/SPAWAR contract N66001-01-C-8035
69 as part of the DARPA CHATS research program.
71 The OpenPAM library is maintained by
72 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .