Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_group(8) [freebsd man page]

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

NAME
pam_group -- Group PAM module SYNOPSIS
[service-name] module-type control-flag pam_group [arguments] DESCRIPTION
The group service module for PAM accepts or rejects users based on their membership in a particular file group. pam_group provides function- ality for two PAM categories: authentication and account management. In terms of the module-type parameter, they are the ``auth'' and ``account'' features. The following options may be passed to the pam_group 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. group=groupname Specify the name of the group to check. The default is ``wheel''. luser Accept or reject based on the target user's group membership. root_only Skip this module entirely if the target account is not the superuser account. ruser Accept or reject based on the supplicant's group membership. This is the default. Note that the luser and ruser options are mutually exclusive, and that pam_group will fail if both are specified. SEE ALSO
pam.conf(5), pam(8) AUTHORS
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
July 19, 2014 BSD

Check Out this Related Man Page

PAM_GROUP(8)							 Linux-PAM Manual						      PAM_GROUP(8)

NAME
pam_group - PAM module for group access SYNOPSIS
pam_group.so DESCRIPTION
The pam_group PAM module does not authenticate the user, but instead it grants group memberships (in the credential setting phase of the authentication module) to the user. Such memberships are based on the service they are applying for. By default rules for group memberships are taken from config file /etc/security/group.conf. This module's usefulness relies on the file-systems accessible to the user. The point being that once granted the membership of a group, the user may attempt to create a setgid binary with a restricted group ownership. Later, when the user is not given membership to this group, they can recover group membership with the precompiled binary. The reason that the file-systems that the user has access to are so significant, is the fact that when a system is mounted nosuid the user is unable to create or execute such a binary file. For this module to provide any level of security, all file-systems that the user has write access to should be mounted nosuid. The pam_group module functions in parallel with the /etc/group file. If the user is granted any groups based on the behavior of this module, they are granted in addition to those entries /etc/group (or equivalent). OPTIONS
This module does not recognise any options. MODULE TYPES PROVIDED
Only the auth module type is provided. RETURN VALUES
PAM_SUCCESS group membership was granted. PAM_ABORT Not all relevant data could be gotten. PAM_BUF_ERR Memory buffer error. PAM_CRED_ERR Group membership was not granted. PAM_IGNORE pam_sm_authenticate was called which does nothing. PAM_USER_UNKNOWN The user is not known to the system. FILES
/etc/security/group.conf Default configuration file SEE ALSO
group.conf(5), pam.d(5), pam(7). AUTHORS
pam_group was written by Andrew G. Morgan <morgan@kernel.org>. Linux-PAM Manual 06/04/2011 PAM_GROUP(8)
Man Page