Yes , a non root process cannot bind to a port under 80. Apache actually starts one process as root according to ps -U root. the child processes are started as www.
Adrian Tevfik Aytekin wrote: >Adrian, I do not understand your answer. >Is your tomcat running on port 80 with a user other then root? >If yes, please tell me how you achieve this. > >Thanks. >TA. > >-----Original Message----- >From: adrianthiele [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, April 30, 2002 11:53 AM >To: Tomcat Users List >Cc: [EMAIL PROTECTED] >Subject: Re: port 80 !!?? Running ! > > >Tevfik , I have mine running on port 80, I just grepped Server.xml and >changed the port number from 8080 to 80 no the non ssl http config. It >only needs to be changed in one spot. >I just ran apachectl stop the startup.sh and everything is fine. > > Adrian > > >Tevfik Aytekin wrote: > > > >>But apache server can manage to bind to port 80 with another user. >>What I am asking is why tomcat can not do this. Is it becasue it is written >>in Java? >> >>TA. >> >>-----Original Message----- >>From: Renato Romano [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, April 30, 2002 3:30 PM >>To: 'Tomcat Users List' >>Subject: RE: port 80 !!?? >> >> >>That's because on Unix-like systems well-known port numbers, like www >>(port 80), or ftp, telnet etc, are system-reserved to the root user. No >>other user can open server sockets on ports less than 1024. You should >>run it as root, or have another user having system administrator >>prvileges. >>Renato >> >>____________________________________ >>Renato Romano >>Sistemi e Telematica S.p.A. >>Calata Grazie - Vial Al Molo Giano >>16127 - GENOVA >> >>e-mail: [EMAIL PROTECTED] >>Tel.: 010 2712603 >>_____________________________________ >> >> >>-----Original Message----- >>From: Tevfik Aytekin [mailto:[EMAIL PROTECTED]] >>Sent: martedė 30 aprile 2002 14.32 >>To: Tomcat Users List >>Subject: port 80 !!?? >> >> >>Hi, >>I suppose this question should have been answered, but I could not find >>a satisfactory answer in the archives. Isn't it possible to run tomcat >>as standalone on port 80 with a user other then root. Apache server >>manages to do this. But as far as I can see tomcat can not. I wonder >>why? Can someone answer? This ability of tomcat would have been great >>since we did not need neither apache nor mod_jk, etc. Also since apache >>and mod_jk are written in C it troubles many people to get them run on >>different platforms. So I do not understand why tomcat do not have the >>ability run on port 80 with a user other than root. >> >>Thanks in advance. >>TA. >> >> >>-- >>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>For additional commands: <mailto:[EMAIL PROTECTED]> >>Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> >> >>-- >>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>For additional commands: <mailto:[EMAIL PROTECTED]> >>Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> >>-- >>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>For additional commands: <mailto:[EMAIL PROTECTED]> >>Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> >> >> >> >> >> > > > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>