Mac Developer Library Developer


This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.

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

     pam_group -- Group 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:

     deny        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.

     fail_safe   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.

     root_only   Skip this module entirely if the target account is not the superuser account.

     ruser       Check the membership of the applicant (PAM_RUSER), rather than the target account

     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.

BSD                            February 7, 2009                            BSD

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.