# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-sudoers-wwwsvn,v 1.1 2008/10/26 11:46:26 pb22 Exp $
# allow www CMS commands
# patch-file matches : wwwupdate
# Process using /usr/bin/cl-patch-file unless matching the above
--- /etc/sudoers	2008-10-09 19:43:00.000000000 +0100
+++ /etc/sudoers	2007-05-21 19:53:11.000000000 +0100
@@ -111 +111,6 @@
 ALL	ALL=NOPASSWD: /usr/bin/cl-ascondor
+
+# Special for web preview: allow certain users to run anything, wwwsvn "update"
+Defaults:wwwsvn !requiretty
+pb22,mgk25	ALL=(wwwupdate) NOPASSWD: /bin/bash
+wwwsvn	ALL=(wwwupdate) NOPASSWD: /anfs/www/tools/share/commit-update.pl
