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