Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 8947 invoked from network); 2 Feb 2004 17:39:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 17:39:21 -0000 Received: (qmail 48992 invoked by uid 500); 2 Feb 2004 17:35:58 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 48967 invoked by uid 500); 2 Feb 2004 17:35:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 48893 invoked from network); 2 Feb 2004 17:35:57 -0000 Received: from unknown (HELO vtg-um-e2k1.sj21ad.cisco.com) (171.70.93.55) by daedalus.apache.org with SMTP; 2 Feb 2004 17:35:57 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: Run Tomcat 5 as Root or Tomcat User? Date: Mon, 2 Feb 2004 09:31:55 -0800 Message-ID: <6677B3346233B94EBB11C0609351012001651251@vtg-um-e2k1.sj21ad.cisco.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Run Tomcat 5 as Root or Tomcat User? Thread-Index: AcPpnZIHNbJ/zJ/TS1Kt8zmhZkAAXAAFQfmg From: "Kumar, Sunitha" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Use sudo -----Original Message----- From: Nadia Kunkov [mailto:nadiak@parkerglobal.com]=20 Sent: Monday, February 02, 2004 7:02 AM To: Tomcat help (E-mail) Subject: Run Tomcat 5 as Root or Tomcat User? Hi, I installed Tomcat 5.0.16 as root. Now it means that I have to start and stop it being root unless I change ownership on a number of directories including $TOMCAT_HOME/bin. My question is should I run Tomcat as root or should I create a Tomcat User with the rights to start and stop tomcat and change ownership on ALL Tomcat directories to that user? I don't think Tomcat 5 comes with startup scripts. I'm trying to write a startup script but inside the script I have to 'su root' and that means I'll be prompted to enter the password. I'd like Tomcat to start at boot so I need to avoid the password prompt. What is the proper way of doing it since it's my first time.....? Thanks for your help. NK --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org