I have a user who is getting this problem:
Sorry, user myuser is not allowed to execute '/bin/cp /tmp/tempfile /applications/tomcat/instance/webapps/' as tomcat on myserver.on.our.network.
When running the following command:
sudo -u tomcat cp /tmp/tempfile /applications/tomcat/instance/webapps/
What change should I make (I assume with visudo) to allow the user to execute
/bin/cp as the
tomcat user? The user is a member of the
Thanks in advance