Try checking the sudoers file after modifying.
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 7 Nov 2011 18:32:54 +0000 (18:32 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 7 Nov 2011 18:32:54 +0000 (18:32 +0000)
org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh

index 3851c56..ff2c220 100755 (executable)
@@ -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