]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
sudoers: ordering for dak-unpriv user
authorAnsgar Burchardt <ansgar@43-1.org>
Sun, 26 May 2013 20:17:19 +0000 (22:17 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 26 May 2013 20:35:35 +0000 (22:35 +0200)
The dak user is allowed to run any command as dak-unpriv however it
cannot pass environment variables to lintian as the last entry matched
counts.

Signed-off-by: Peter Palfrader <peter@palfrader.org>
modules/sudo/files/sudoers

index 51e3a0c0f663390f73768b39804f159c82d0be03..196bb4a8761414bb2b344bba2c37296675d00bf8 100644 (file)
@@ -118,8 +118,8 @@ nagios              beethoven=(debbackup)   NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup
 %gobby         gombert=(gobby) ALL
 
 # the dak user gets to run stuff as dak-unpriv (for things like lintian checks)
-dak            ALL=(dak-unpriv)        NOPASSWD: ALL
 %ftptrainee    FTPHOSTS=(dak-unpriv)   NOPASSWD: /usr/bin/lintian
+dak            ALL=(dak-unpriv)        NOPASSWD: ALL
 
 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
 %apachectrl    ALL=(root)      /usr/sbin/apache2-vhost-update