Your file has syntax errors, which indicates that you have not edited it with visudo, as is recommended. Also, your su syntax is totally borked. Not that it would be needed at all here, since you are already using sudo.
Try it with this file:
Code:
%UX-CDS-Production-Support.GG ALL=NOPASSWD: /bin/ls
%UX-CDS-Production-Support.GG ALL=NOPASSWD: /usr/bin/less
%UX-CDS-Production-Support.GG ALL=NOPASSWD: /usr/sbin/lsof -v
%UX-CDS-Production-Support.GG ALL=(tomcat)NOPASSWD: /usr/bin/jstack
%UX-CDS-Production-Support.GG ALL=(tomcat)NOPASSWD: /usr/bin/jstat
%UX-CDS-Production-Support.GG ALL=(tomcat)NOPASSWD: /usr/bin/jstatd
%UX-CDS-Production-Support.GG ALL=(tomcat)NOPASSWD: /usr/bin/jmap
For the commands that have to run as user tomcat (I just guessed that that is what you wanted to do there) in a login shell you will have to use the -u and -i options, like this:
Code:
sudo -i -u tomcat /usr/bin/jstack
I strongly recommend to read the man pages for sudo, sudoers and su, since these commands are very critical to your systems security.