I installed tomcat server in RHEL and the ownership of that is tomcat user. For a user name as guest i want to give limited access to control it.
I want to give limited sudo access. Means i want to give previlage to guest as "sudo to tomcat only and not sudo to root".
If i add the below line in /etc/sudousers file, guest is able to sudo as root.
guest ALL=/bin/su
can someone tell me how to do this.