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