From bbc80e6cc71f8ea72459f73be659f4aa2870de18 Mon Sep 17 00:00:00 2001 From: Lucas Ramage Date: Fri, 27 Mar 2020 14:03:43 -0400 Subject: 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 --- modules/pam_access/access.conf.5.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/pam_access/access.conf.5.xml') 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 @@ -197,6 +197,12 @@ +:john:2001:db8:0:101::/64 + + Members of group wheel should be allowed to get access + from all sources. + + +:(wheel):ALL + Disallow console logins to all but the shutdown, sync and all other accounts, which are a member of the wheel group. -- cgit v1.2.3