[Piuparts-commits] [piuparts] 01/02: Drop conf/piuparts-master.sudoers and update conf/piuparts-slave.sudoers.

Holger Levsen holger at moszumanska.debian.org
Mon Oct 20 18:50:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 8e734eaed0c2719adc83556cc2af1ff9e28b658f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Oct 20 20:43:48 2014 +0200

    Drop conf/piuparts-master.sudoers and update conf/piuparts-slave.sudoers.
    
    Drop conf/piuparts-master.sudoers from debian/piuparts-master.examples
    and modify conf/piuparts-slave.sudoers to only allow the piupartss user
    to run /usr/sbin/piuparts as root - that's "all that's needed" anyway.
---
 conf/piuparts-master.sudoers    | 7 -------
 conf/piuparts-slave.sudoers     | 5 +----
 debian/changelog                | 9 +++++++--
 debian/piuparts-master.examples | 1 -
 4 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/conf/piuparts-master.sudoers b/conf/piuparts-master.sudoers
deleted file mode 100644
index 9cce474..0000000
--- a/conf/piuparts-master.sudoers
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# copy this file to /etc/sudoers.d/piuparts-master
-#
-
-#piuparts admins
-%piuparts       ALL=(piupartsm) ALL
-
diff --git a/conf/piuparts-slave.sudoers b/conf/piuparts-slave.sudoers
index 169b1db..fba2441 100644
--- a/conf/piuparts-slave.sudoers
+++ b/conf/piuparts-slave.sudoers
@@ -3,8 +3,5 @@
 #
 
 # The piuparts slave needs to handle chroots.
-piupartss	ALL = NOPASSWD: ALL
-
-#piuparts admins
-%piuparts       ALL=(piupartss) ALL
+piupartss	ALL = NOPASSWD: /usr/sbin/piuparts
 
diff --git a/debian/changelog b/debian/changelog
index a54a163..8775942 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-piuparts (0.60) unstable; urgency=medium
+piuparts (0.60) UNRELEASED; urgency=medium
 
   [ Leo Iannacone ]
   * piuparts.py: when using the --existing-chroot option, instead of copying
@@ -9,7 +9,12 @@ piuparts (0.60) unstable; urgency=medium
   * Use python-distro-info to get the Debian and Ubuntu devel releases
   * tests: Remove the Ubuntu devel release test.
 
- -- Holger Levsen <holger at debian.org>  Mon, 20 Oct 2014 20:31:53 +0200
+  [ Holger Levsen ]
+  * Drop conf/piuparts-master.sudoers from debian/piuparts-master.examples
+    and modify conf/piuparts-slave.sudoers to only allow the piupartss user
+    to run /usr/sbin/piuparts as root - that's "all that's needed" anyway.
+
+ -- Holger Levsen <holger at debian.org>  Tue, 15 Jul 2014 16:42:39 +0200
 
 piuparts (0.59) unstable; urgency=low
 
diff --git a/debian/piuparts-master.examples b/debian/piuparts-master.examples
index 3403ebd..a2e97c1 100644
--- a/debian/piuparts-master.examples
+++ b/debian/piuparts-master.examples
@@ -2,4 +2,3 @@ instances/piuparts.conf.anbe
 instances/piuparts.conf.pejacevic
 conf/piuparts.conf.sample
 conf/crontab-master
-conf/piuparts-master.sudoers

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list