Possible Duplicate:
No TTY present when running commands over SSH in here-document
I installed tomcat7. It is nologin user tomcat7. That said, I need to give tomcat7 sudo rights to run other applications.
I edit sudoer. But requiretty is set, sudo will only run when the user is logged in to a real tty. However tomcat is nologin...
What should I do?