[Mageia-sysadm] [219] fix permissions on sudoers files
root at mageia.org
root at mageia.org
Wed Nov 10 00:13:20 CET 2010
Revision: 219
Author: boklm
Date: 2010-11-10 00:13:19 +0100 (Wed, 10 Nov 2010)
Log Message:
-----------
fix permissions on sudoers files
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
puppet/modules/sudo/manifests/init.pp
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-11-09 23:02:34 UTC (rev 218)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-11-09 23:13:19 UTC (rev 219)
@@ -29,7 +29,7 @@
ensure => present,
owner => root,
group => root,
- mode => 600,
+ mode => 440,
content => template("buildsystem/sudoers.iurt")
}
Modified: puppet/modules/sudo/manifests/init.pp
===================================================================
--- puppet/modules/sudo/manifests/init.pp 2010-11-09 23:02:34 UTC (rev 218)
+++ puppet/modules/sudo/manifests/init.pp 2010-11-09 23:13:19 UTC (rev 219)
@@ -5,7 +5,7 @@
file { "/etc/sudoers.d":
ensure => directory,
- mode => 700,
+ mode => 711,
owner => root,
group => root,
}
@@ -14,7 +14,7 @@
ensure => present,
owner => root,
group => root,
- mode => 600,
+ mode => 440,
content => template("sudo/sudoers")
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101110/eed5a589/attachment-0001.html>
More information about the Mageia-sysadm
mailing list