Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Óscar Frías Barranco
Thanks for your replies. At the end I include the logs from the beginning. (by the way, I cannot use "sudo" because I would like to restart tomcat from a non-interactive script) Nov 28, 2011 2:41:41 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Nativ

Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Konstantin Kolinko
2011/11/28 Óscar Frías Barranco : > Hi. > > I want to start Tomcat 6.0.33 (running on port 80) from the command line of > a non-root user.  I have set the setuid flag in the jsvc binary to > "convert" the non-root user to root at the time of execution.  Then the > jsvc binary is executed with the "

Re: Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread André Warnier
Óscar Frías Barranco wrote: Hi. I want to start Tomcat 6.0.33 (running on port 80) from the command line of a non-root user. I have set the setuid flag in the jsvc binary to "convert" the non-root user to root at the time of execution. Then the jsvc binary is executed with the "--user tomcat"

Problem starting Tomcat + APR on port 80 using jsvc with setuid

2011-11-28 Thread Óscar Frías Barranco
Hi. I want to start Tomcat 6.0.33 (running on port 80) from the command line of a non-root user. I have set the setuid flag in the jsvc binary to "convert" the non-root user to root at the time of execution. Then the jsvc binary is executed with the "--user tomcat" parameter. The thing is that