xref: /freebsd/contrib/openpam/doc/man/pam_sm_acct_mgmt.3 (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
1.\" Generated from pam_sm_acct_mgmt.c by gendoc.pl
2.\" $Id: pam_sm_acct_mgmt.c 648 2013-03-05 17:54:27Z des $
3.Dd February 19, 2017
4.Dt PAM_SM_ACCT_MGMT 3
5.Os
6.Sh NAME
7.Nm pam_sm_acct_mgmt
8.Nd service module implementation for pam_acct_mgmt
9.Sh SYNOPSIS
10.In sys/types.h
11.In security/pam_appl.h
12.In security/pam_modules.h
13.Ft "int"
14.Fn pam_sm_acct_mgmt "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
15.Sh DESCRIPTION
16The
17.Fn pam_sm_acct_mgmt
18function is the service module's implementation
19of the
20.Xr pam_acct_mgmt 3
21API function.
22.Sh RETURN VALUES
23The
24.Fn pam_sm_acct_mgmt
25function returns one of the following values:
26.Bl -tag -width 18n
27.It Bq Er PAM_ABORT
28General failure.
29.It Bq Er PAM_ACCT_EXPIRED
30User account has expired.
31.It Bq Er PAM_AUTH_ERR
32Authentication error.
33.It Bq Er PAM_BUF_ERR
34Memory buffer error.
35.It Bq Er PAM_CONV_ERR
36Conversation failure.
37.It Bq Er PAM_IGNORE
38Ignore this module.
39.It Bq Er PAM_NEW_AUTHTOK_REQD
40New authentication token required.
41.It Bq Er PAM_PERM_DENIED
42Permission denied.
43.It Bq Er PAM_SERVICE_ERR
44Error in service module.
45.It Bq Er PAM_SYSTEM_ERR
46System error.
47.It Bq Er PAM_USER_UNKNOWN
48Unknown user.
49.El
50.Sh SEE ALSO
51.Xr pam 3 ,
52.Xr pam_acct_mgmt 3 ,
53.Xr pam_strerror 3
54.Sh STANDARDS
55.Rs
56.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
57.%D "June 1997"
58.Re
59.Sh AUTHORS
60The
61.Fn pam_sm_acct_mgmt
62function and this manual page were
63developed for the
64.Fx
65Project by ThinkSec AS and Network Associates Laboratories, the
66Security Research Division of Network Associates, Inc.\& under
67DARPA/SPAWAR contract N66001-01-C-8035
68.Pq Dq CBOSS ,
69as part of the DARPA CHATS research program.
70.Pp
71The OpenPAM library is maintained by
72.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
73