From: Zdeněk Šustr Date: Mon, 7 Nov 2011 11:54:23 +0000 (+0000) Subject: Another dirty hack X-Git-Tag: merge_30_head_take2_dst~72 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=2bf058fbf0bd7d773701c1575bc97dfd7a0ee191;p=jra1mw.git Another dirty hack --- 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 7583019..8db2a5b 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -93,6 +93,7 @@ grep -E "$GLITE_USER.*/bin/cat" /etc/sudoers > /dev/null 2> /dev/null 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/' echo cd > arrange_lb_test_user.sh echo export LBTSTCOLS=\$LBTSTCOLS >> arrange_lb_test_user.sh