>Any tips on how to grant priviledges to port 80 or 8080 on >linux to a user.
Two ways: 1.) Install Apache (HTTPD) and a connector and have it pass the requests to Tomcat. 2.) Use http://jakarta.apache.org/commons/daemon which can bind to port 80 as root and then downgrade itself to a regular user for everything else (as Apache HTTPD does). I've heard that the latest CVS release of commons/daemon has some important bug fixes that affect stability. I just use port forwarding at the router level and leave Tomcat on port 8080. On Fri, 2005-01-14 at 03:19, Mumanyi Bravismore wrote: > Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat] > dir, No problem with the user starting tomcat. ps -e|grep java shows the > tomcat process is running but when I try to access the pages from the > browser, connection is failing. > > Any tips on how to grant priviledges to port 80 or 8080 on linux to a user. > > Thanks > > Roland Carlsson wrote: > > Hi Mumanyi! > > > > This will require some knowleage about you operatingsystem since not all > > operation is allowed being a non-root user. But it basically comes down to > > this: > > > > Grant the user you would like to run tomcat read and write rights on the > > whole tomcat install-dir. This because tomcat write down a few things to > > disk. > > > > Make sure that you operating system allow the user to open up the port you > > which tomcat to run on. Usually ports under 1024 are dissallowed without > > special privilegies. > > > > If you still are having problem you have to read the logs to see why tomcat > > fails to start correctly. > > > > Regards > > Roland Carlsson > > > > > > > > > > Den 05-01-14 08.12, skrev "Mumanyi Bravismore" <[EMAIL PROTECTED]>: > > > > > >>How can one achieve to install and run tomcat as a user other than root. > >> I have tried to extract tomcat from the *.gz as a user but once I try > >>to access it from the browser I get the "Connection Failed" error when > >>in actually fact tomcat is running. > >> > >>When I su -l to root and restart tomcat, I am able to see the page. > >> > >>Thanks in advance. > >> > >>Regards > >>/Bravo > >> > >> > >>--------------------------------------------------------------------- > >>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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
