1PAM_GROUP(8) Linux-PAM Manual PAM_GROUP(8)
2
3
4
6 pam_group - PAM module for group access
7
9 pam_group.so
10
12 The pam_group PAM module does not authenticate the user, but instead it
13 grants group memberships (in the credential setting phase of the
14 authentication module) to the user. Such memberships are based on the
15 service they are applying for.
16
17 By default rules for group memberships are taken from config file
18 /etc/security/group.conf.
19
20 This moduleĀ“s usefulness relies on the file-systems accessible to the
21 user. The point being that once granted the membership of a group, the
22 user may attempt to create a setgid binary with a restricted group
23 ownership. Later, when the user is not given membership to this group,
24 they can recover group membership with the precompiled binary. The
25 reason that the file-systems that the user has access to are so
26 significant, is the fact that when a system is mounted nosuid the user
27 is unable to create or execute such a binary file. For this module to
28 provide any level of security, all file-systems that the user has write
29 access to should be mounted nosuid.
30
31 The pam_group module functions in parallel with the /etc/group file. If
32 the user is granted any groups based on the behavior of this module,
33 they are granted in addition to those entries /etc/group (or
34 equivalent).
35
37 This module does not recognise any options.
38
40 Only the auth module type is provided.
41
43 PAM_SUCCESS
44 group membership was granted.
45
46 PAM_ABORT
47 Not all relevant data could be gotten.
48
49 PAM_BUF_ERR
50 Memory buffer error.
51
52 PAM_CRED_ERR
53 Group membership was not granted.
54
55 PAM_IGNORE
56
57 pam_sm_authenticate was called which does nothing.
58
59 PAM_USER_UNKNOWN
60 The user is not known to the system.
61
63 /etc/security/group.conf
64 Default configuration file
65
67 group.conf(5), pam.d(5), pam(8).
68
70 pam_group was written by Andrew G. Morgan <morgan@kernel.org>.
71
72
73
74Linux-PAM Manual 06/16/2009 PAM_GROUP(8)