Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 42226 invoked from network); 13 Jul 2004 21:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jul 2004 21:38:56 -0000 Received: (qmail 6579 invoked by uid 500); 13 Jul 2004 21:38:44 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 6506 invoked by uid 500); 13 Jul 2004 21:38:44 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 6384 invoked by uid 99); 13 Jul 2004 21:38:43 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 13 Jul 2004 14:38:38 -0700 Received: (qmail 1097 invoked by uid 50); 13 Jul 2004 21:40:00 -0000 Date: 13 Jul 2004 21:40:00 -0000 Message-ID: <20040713214000.1096.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 30087] New: - Solved: using su command in scripts to start Tomcat as non-root user X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30087 Solved: using su command in scripts to start Tomcat as non-root user Summary: Solved: using su command in scripts to start Tomcat as non-root user Product: Tomcat 5 Version: 5.0.25 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: pcgscrap@comcast.net Something in SuSE 9.1 changed so now the su command doesn't properly work unless you specify the shell using "-s /bin/bash" (or whatever shell you use). So older su commands like: "su myuser -c mycommand" had to change to "su -s myshell -c mycommand - myuser" The information from this link: http://ftp.lug.ro/suse/projects/apache/jakarta-tomcat/8.1-i386/jakarta-tomcat.changes gave me a clue as to why my script would not work when using the su command. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org