[Mageia-sysadm] [849] members of mga-iso_makers group can use bcd account
root at mageia.org
root at mageia.org
Tue Jan 18 19:49:36 CET 2011
Revision: 849
Author: boklm
Date: 2011-01-18 19:49:36 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
members of mga-iso_makers group can use bcd account
Modified Paths:
--------------
puppet/modules/bcd/manifests/init.pp
puppet/modules/bcd/templates/sudoers.bcd
Modified: puppet/modules/bcd/manifests/init.pp
===================================================================
--- puppet/modules/bcd/manifests/init.pp 2011-01-18 18:42:28 UTC (rev 848)
+++ puppet/modules/bcd/manifests/init.pp 2011-01-18 18:49:36 UTC (rev 849)
@@ -2,6 +2,7 @@
class variable {
$bcd_login = 'bcd'
$bcd_home = '/home/bcd'
+ $isomakers_group = 'mga-iso_makers'
}
class base inherits variable {
Modified: puppet/modules/bcd/templates/sudoers.bcd
===================================================================
--- puppet/modules/bcd/templates/sudoers.bcd 2011-01-18 18:42:28 UTC (rev 848)
+++ puppet/modules/bcd/templates/sudoers.bcd 2011-01-18 18:49:36 UTC (rev 849)
@@ -4,3 +4,5 @@
/usr/sbin/urpmi.addmedia, \
/usr/sbin/urpmi.removemedia, \
/bin/rm
+
+%<%= isomakers_group %> ALL=(<%= bcd_login %>) SETENV: NOPASSWD: ALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/1dc4cd9a/attachment.html>
More information about the Mageia-sysadm
mailing list