Hi all
right now I have a script to start Jakarta Tomcat as user nobody which works great, but it loads up /var/log/messages with messages like this:
Code:
Jan 28 13:23:12 puter sudo: root : TTY=pts/0 ; PWD=/usr/local/apache2/jakarta-tomcat-4.1.31/webapps ; USER=nobody ; COMMAND=/usr/local/apache2/jakarta-tomcat-4.1.31/bin/startup.sh
is there a preferred way to execute a command as a different user which might not clutter up my logs so much?
TIA
B.