no need to alter sudoers for bootcustom anymore
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 16 Jan 2008 13:56:57 +0000 (13:56 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 16 Jan 2008 13:56:57 +0000 (13:56 +0000)
build.functions
build.sh

index 732392c..cd9a80d 100644 (file)
@@ -119,14 +119,6 @@ EOF
    esac
 }
 
-function sudoers_bootcustom_apache () {
-    cat <<EOF
-User_Alias WWW = %apache,%root
-Cmnd_Alias BOOTCUSTOM = /usr/share/bootcd/bootcustom.sh
-WWW          ALL = NOPASSWD: BOOTCUSTOM 
-EOF
-}
-
 # quick and dirty - might break anytime if docbook html output changes
 function docbook_html_to_drupal () {
     title=$1; shift
index a278deb..aae2798 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -89,13 +89,6 @@ install -m 444 myplc-release root/etc/myplc-release
 # yum_conf_to_build_host is defined in build.functions
 yum_conf_to_build_host > root/etc/yum.conf
 
-### Thierry Parmentelat - may 16 2007
-# the node-dependent image generation script requires root privilege
-# to perform various mount operations
-sudoers_bootcustom_apache > root/etc/sudoers
-chown root:root root/etc/sudoers
-chmod 400 root/etc/sudoers
-
 ### Thierry Parmentelat - july 20 2007
 # we now build the myplc doc
 # beware that making the pdf file somehow overwrites the html