diff options
author | Lucas Ramage <oxr463@gmx.us> | 2020-03-27 14:03:43 -0400 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-07 14:25:00 +0000 |
commit | bbc80e6cc71f8ea72459f73be659f4aa2870de18 (patch) | |
tree | cc93adca9e31db16833ec1d40596cd0f67da1ee0 /modules | |
parent | d5303aa01f724e5b20adeb940e08a6200d48cdf4 (diff) | |
download | pam-bbc80e6cc71f8ea72459f73be659f4aa2870de18.tar.gz pam-bbc80e6cc71f8ea72459f73be659f4aa2870de18.tar.bz2 pam-bbc80e6cc71f8ea72459f73be659f4aa2870de18.zip |
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')
-rw-r--r-- | modules/pam_access/access.conf.5.xml | 6 |
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> |