1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_acct_mgmt.c by gendoc.pl 2*3ba4c8c8SDag-Erling Smørgrav.Dd June 27, 2023 35c1eca55SDag-Erling Smørgrav.Dt PAM_ACCT_MGMT 3 45c1eca55SDag-Erling Smørgrav.Os 55c1eca55SDag-Erling Smørgrav.Sh NAME 65c1eca55SDag-Erling Smørgrav.Nm pam_acct_mgmt 75c1eca55SDag-Erling Smørgrav.Nd perform PAM account validation procedures 85c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS 9644f2b7cSDag-Erling Smørgrav.In sys/types.h 105c1eca55SDag-Erling Smørgrav.In security/pam_appl.h 11ca236e63SDag-Erling Smørgrav.Ft "int" 125c1eca55SDag-Erling Smørgrav.Fn pam_acct_mgmt "pam_handle_t *pamh" "int flags" 135c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION 14183bda37SDag-Erling SmørgravThe 152f3ed619SDag-Erling Smørgrav.Fn pam_acct_mgmt 16183bda37SDag-Erling Smørgravfunction verifies and enforces account restrictions 17183bda37SDag-Erling Smørgravafter the user has been authenticated. 18183bda37SDag-Erling Smørgrav.Pp 19183bda37SDag-Erling SmørgravThe 20b33ab329SDag-Erling Smørgrav.Fa flags 21183bda37SDag-Erling Smørgravargument is the binary or of zero or more of the following 22183bda37SDag-Erling Smørgravvalues: 23183bda37SDag-Erling Smørgrav.Bl -tag -width 18n 24183bda37SDag-Erling Smørgrav.It Dv PAM_SILENT 25183bda37SDag-Erling SmørgravDo not emit any messages. 26183bda37SDag-Erling Smørgrav.It Dv PAM_DISALLOW_NULL_AUTHTOK 27183bda37SDag-Erling SmørgravFail if the user's authentication token is null. 28183bda37SDag-Erling Smørgrav.El 29ee02aaa9SDag-Erling Smørgrav.Pp 30183bda37SDag-Erling SmørgravIf any other bits are set, 312f3ed619SDag-Erling Smørgrav.Fn pam_acct_mgmt 32183bda37SDag-Erling Smørgravwill return 33183bda37SDag-Erling Smørgrav.Dv PAM_SYMBOL_ERR . 345c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES 355c1eca55SDag-Erling SmørgravThe 362f3ed619SDag-Erling Smørgrav.Fn pam_acct_mgmt 375c1eca55SDag-Erling Smørgravfunction returns one of the following values: 3846acc370SDag-Erling Smørgrav.Bl -tag -width 18n 3949e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS 4049e56509SDag-Erling SmørgravSuccess. 4146acc370SDag-Erling Smørgrav.It Bq Er PAM_ABORT 4246acc370SDag-Erling SmørgravGeneral failure. 4346acc370SDag-Erling Smørgrav.It Bq Er PAM_ACCT_EXPIRED 44b33ab329SDag-Erling SmørgravUser account has expired. 4546acc370SDag-Erling Smørgrav.It Bq Er PAM_AUTH_ERR 4646acc370SDag-Erling SmørgravAuthentication error. 4746acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR 4846acc370SDag-Erling SmørgravMemory buffer error. 4946acc370SDag-Erling Smørgrav.It Bq Er PAM_CONV_ERR 5046acc370SDag-Erling SmørgravConversation failure. 5146acc370SDag-Erling Smørgrav.It Bq Er PAM_NEW_AUTHTOK_REQD 5246acc370SDag-Erling SmørgravNew authentication token required. 5346acc370SDag-Erling Smørgrav.It Bq Er PAM_PERM_DENIED 5446acc370SDag-Erling SmørgravPermission denied. 5546acc370SDag-Erling Smørgrav.It Bq Er PAM_SERVICE_ERR 5646acc370SDag-Erling SmørgravError in service module. 5746acc370SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR 5846acc370SDag-Erling SmørgravSystem error. 5946acc370SDag-Erling Smørgrav.It Bq Er PAM_USER_UNKNOWN 6046acc370SDag-Erling SmørgravUnknown user. 615c1eca55SDag-Erling Smørgrav.El 625c1eca55SDag-Erling Smørgrav.Sh SEE ALSO 6346acc370SDag-Erling Smørgrav.Xr pam 3 , 6446acc370SDag-Erling Smørgrav.Xr pam_strerror 3 655c1eca55SDag-Erling Smørgrav.Sh STANDARDS 665c1eca55SDag-Erling Smørgrav.Rs 675c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" 685c1eca55SDag-Erling Smørgrav.%D "June 1997" 695c1eca55SDag-Erling Smørgrav.Re 705c1eca55SDag-Erling Smørgrav.Sh AUTHORS 715c1eca55SDag-Erling SmørgravThe 722f3ed619SDag-Erling Smørgrav.Fn pam_acct_mgmt 732f3ed619SDag-Erling Smørgravfunction and this manual page were 742f3ed619SDag-Erling Smørgravdeveloped for the 75ca236e63SDag-Erling Smørgrav.Fx 762f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the 779bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under 78ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035 795c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS , 805c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program. 81ce77a8d6SDag-Erling Smørgrav.Pp 82ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by 83f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 84