On 4/16/05, egan0019 <[EMAIL PROTECTED]> wrote:
> As long as you are using a port above or equal to 1024, I believe you
> should be able to simply start up Tomcat using a non-root user.
> 
> On 15 Apr 2005, Parsons Technical Services wrote:
> > There are several options:
> >
> > 1. Keep running as root. (Bad as noted)
> > 2. Listen on port above 1024.
> > 3. Apache front end.
> > 4. Use jsvc to start Tomcat as root. Bind to ports and change user.
> >
> > I think 4 is what you are looking for.
> >
> > http://jakarta.apache.org/commons/daemon/jsvc.html
> >
> > Doug
> >
> > ----- Original Message -----
> > From: "Lorenzo Jim�nez" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[email protected]>
> > Sent: Friday, April 15, 2005 10:37 AM
> > Subject: How to change a running Tomcat with root user to other user.
> >
> >
> > Hi,
> >
> > Today we saw that our Tomcat 5.0.28 had been installed and it is running
> > with the root user.
> >
> > Because is a security hazard,
> >
> > how can I change it to other less dangerous user?, and
> > what privileges needs to have in order to work?
> >
> > Our system is a RedHat 9.0, 2.4.21-20.ELsmp
> >
> > Thanks,
> > Regards,
> >
> > Lorenzo
> >
> >
> > -------------------------------------------------------------
> >
> > Si usted no es el destinatario indicado en este mensaje o responsable
> como
> > persona
> > de la entrega del mensaje, no debe copiar o reenviar este mensaje, por
> favor
> > notifique
> > al correo [EMAIL PROTECTED] Para m�s referencia sobre t�rminos
> > importantes
> > relacionados a este correo visite
> > http://www.nacion.com/disclaimer/index_es2.htm
> >
> > If you are not the addressee indicated in this message (or responsible
> for
> > delivery of the
> > message to such person), you may not copy or send this message to anyone,
> 
> > please notify
> > to [EMAIL PROTECTED] Click here for important additional terms
> relating
> > to this e-mail.
> > <http://www.nacion.com/disclaimer/index_en2.htm>
> >
> > -------------------------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
You can consider using the Linux netfileter package to  map port 80 to
another port. Then you  can run Tomcat at port 8080 and set up
netfilter to redirect all request on port 80 to 8080.

-- 
Anto Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to