From: Zdeněk Šustr Date: Mon, 7 Nov 2011 18:32:54 +0000 (+0000) Subject: Try checking the sudoers file after modifying. X-Git-Tag: merge_30_head_take2_dst~67 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=947d3208f1cb9359199bbc83283c16d6878f7030;p=jra1mw.git Try checking the sudoers file after modifying. --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh index 3851c56..ff2c220 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -94,6 +94,7 @@ if [ ! \$? = 0 ]; then printf "\n\$GLITE_USER\tALL=NOPASSWD: /bin/cat /etc/cron.d/glite-lb-purge.cron,/bin/cat /var/log/messages\n\n" >> /etc/sudoers fi sed -i /etc/sudoers 's/^Default\srequiretty/#Default requiretty/' +visudo -c echo cd > arrange_lb_test_user.sh echo export LBTSTCOLS=\$LBTSTCOLS >> arrange_lb_test_user.sh