I strongly suggest that you look through the man pages of setuid.

Then u need to make adequate changes with setuid in your startup.sh
file which will help u start the process as a normal user even though
root has started the process during boot.

HTH
-Anoop


On 4/15/05, Lorenzo Jim�nez <[EMAIL PROTECTED]> wrote:
> 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]
> 
> 


-- 
Thanks and best regards,
Anoop

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

Reply via email to