devnumbertwo - $h!t for developers

View Original

how to run tomcat on linux as root

trying to run tomcat on linux as root? although running tomcat as root is not recommended in environments where it is accessible to the public i feel your pain. sometimes you just wanna run this bad boy as root.

here’s how you do it:

edit the startup file:

See this content in the original post

and change the line:

See this content in the original post

to

See this content in the original post