From 0e73991710adce250f8cc56040528ae25e68bad0 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 4 Aug 2010 13:00:59 +0000 Subject: Relevant BUGIDs: #3035919, #3002340, #3037155 Purpose of commit: bugfix Commit summary: --------------- 2010-08-04 Thorsten Kukuk * modules/pam_access/pam_access.c (user_match): Make sure that user@host will not match @@netgroup. Bug #3035919. * modules/pam_group/pam_group.c (check_account): Add '%' for UNIX groups. * modules/pam_group/group.conf: Add example for '%'. * modules/pam_group/group.conf.5.xml: Document '%' syntax. Bug #3002340, #3037155. --- modules/pam_group/group.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules/pam_group/group.conf') diff --git a/modules/pam_group/group.conf b/modules/pam_group/group.conf index b766becb..7c07a260 100644 --- a/modules/pam_group/group.conf +++ b/modules/pam_group/group.conf @@ -1,5 +1,5 @@ # -# This is the configuration file for the pam_group module. +# This is the configuration file for the pam_group module. # # @@ -94,6 +94,13 @@ #xsh; tty* ;sword;!Wk0900-1800;sound, play #xsh; tty* ;*;Al0900-1800;floppy +# +# yet another example: any member of the group 'admin' running +# 'xsh' on tty*, is granted access (at any time) to the group 'plugdev' +# + +#xsh; tty* ;%admin;Al0000-2400;plugdev + # # End of group.conf file # -- cgit v1.2.3