set commands for tomcat7 sudo entry.