summaryrefslogtreecommitdiff
path: root/modules/pam_access/access.conf.5.xml
diff options
context:
space:
mode:
authorLucas Ramage <oxr463@gmx.us>2020-03-27 14:03:43 -0400
committerDmitry V. Levin <ldv@altlinux.org>2020-04-07 14:25:00 +0000
commitbbc80e6cc71f8ea72459f73be659f4aa2870de18 (patch)
treecc93adca9e31db16833ec1d40596cd0f67da1ee0 /modules/pam_access/access.conf.5.xml
parentd5303aa01f724e5b20adeb940e08a6200d48cdf4 (diff)
pam_access: add an example of using groups in access.conf to permit access
Resolves: https://github.com/linux-pam/linux-pam/issues/65 Resolves: https://github.com/linux-pam/linux-pam/pull/199
Diffstat (limited to 'modules/pam_access/access.conf.5.xml')
-rw-r--r--modules/pam_access/access.conf.5.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/pam_access/access.conf.5.xml b/modules/pam_access/access.conf.5.xml
index 386346b9..8fdbc31d 100644
--- a/modules/pam_access/access.conf.5.xml
+++ b/modules/pam_access/access.conf.5.xml
@@ -198,6 +198,12 @@
<para>+:john:2001:db8:0:101::/64</para>
<para>
+ Members of group <emphasis>wheel</emphasis> should be allowed to get access
+ from all sources.
+ </para>
+ <para>+:(wheel):ALL</para>
+
+ <para>
Disallow console logins to all but the shutdown, sync and all
other accounts, which are a member of the wheel group.
</para>