tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Braae" <andrewbr...@gmail.com>
Subject Re: Running Tomcat as root on Linux
Date Wed, 28 Jun 2006 21:25:30 GMT
Another option if your main goal is to get tomcat bound to port 80 is to use
port forwarding (e.g. iptables works well on linux). Then tomcat can run as
any old user on a non-privileged port such as 8080 and you redirect all
incoming port 80 traffic to the actual tomcat port.

Andrew

On 6/29/06, Markus Schönhaber <mailing-tomcat-user@schoenhaber.de> wrote:
>
> Sean Machin wrote:
> > I'm setting up a Linux server with Tomcat that will be used for field
> > trialing.  The server will be connected
> > to the public Internet.  Is it typical practice to have Tomcat installed
> > and running as root on a system
> > like this, or should it be running as a less privileged user?
>
> The latter.
> One of the possible options you might want to consider in this case is
> jsvc -
> it's source code comes with the Tomcat distribution and is located in the
> bin
> directory. It allows you to run Tomcat without root priviledges and
> nevertheless bind to privileged ports.
>
> Regards
> mks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message