]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Allow httpredir role to run some things as httpredir-app
authorPeter Palfrader <peter@palfrader.org>
Sun, 21 Sep 2014 17:06:33 +0000 (19:06 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 21 Sep 2014 17:06:33 +0000 (19:06 +0200)
modules/sudo/files/sudoers

index 2bfc1378f7fe7b84c39c2cb616f896831e722737..c274626ee4cb291043f83611ab4cb797f21eb189 100644 (file)
@@ -101,7 +101,7 @@ nagios              beethoven,backuphost=(debbackup)        NOPASSWD: /usr/lib/nagios/plugins/dsa-c
 %emdebian      ALL=(emdebian)  ALL
 %forums                ALL=(forums)    ALL
 %httpredir     ALL=(httpredir) ALL
-%httpredir     ALL=(httpredir-all)     ALL
+%httpredir     ALL=(httpredir-app)     ALL
 %keyring       ALL=(keyring)   ALL
 %lintian       ALL=(lintian)   ALL
 %listweb       ALL=(listweb)   ALL
@@ -141,6 +141,9 @@ dak         ALL=(dak-unpriv)        NOPASSWD: ALL
 # and ftpmaster can access the role user for their web services
 %debadmin      FTPHOSTS=(dak-web)      ALL
 
+# the httpredir role use can run a couple of things as httpredir-app
+httpredir      ALL=(httpredir-app)     NOPASSWD: /usr/bin/starman
+
 # 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