pam_group(8) System Manager's Manual pam_group(8)

pam_groupGroup PAM module

[service-name] function-class control-flag pam_group [options]

The Group PAM module supports the account management function class. In terms of the function-class parameter, this is the “account” class.

The Group account management module permits or denies users based on their membership to a particular group (or groups) specified with the group option. If no groups are specified the default group (“wheel”) will be used.

The following options may be passed to this account management module:

Reverse the meaning of the test, i.e., reject the applicant if and only if he or she is a member of the specified group. This can be useful to exclude certain groups of users from certain services.
If the specified group does not exist, or has no members, act as if it does exist and the applicant is a member.
Specify the name of the group to check. This can be a comma-separated list (i.e. “group=admin,wheel”).
Skip this module entirely if the target account is not the superuser account.
Check the membership of the applicant (PAM_RUSER), rather than the target account (PAM_USER)

pam_get_item(3), pam.conf(5), pam(8), DirectoryService(8)

The pam_group module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (“CBOSS”), as part of the DARPA CHATS research program.

February 7, 2009 macOS 15.2