running Tomcat on port 80 as non root

2002-06-06 Thread @Basebeans.com

Subject: running Tomcat on port 80 as non root
From: Aymeric Alibert [EMAIL PROTECTED]
 ===
I am trying to find a workaround to the fact that Tomcat cannot run as
non-root on port 80 on UNIX.

It seems that our firewall can redirect the request from port 80 to port
8080. This way, tomcat can run a non-root on port 8080.
Does anybody kows if there are some problems with that configuration?
Could this redirect confuse some proxy servers? (sending a request on 80 and
getting a response from 8080).

Thanks,

Aymeric.








--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Running Tomcat on port 80 under non root?

2001-03-19 Thread Alec Bau

On Solaris 2.7 we need Tomcat process to use port 80 but to run under id other
than root. Is there a trick or conf option to do this, i.e. grab port 80 under
root and then set user id to something else? Or the only way is to modify source
and to call setuid via JNI after socket is bound?

Thanks,
Alec





Re: Running Tomcat on port 80 under non root?

2001-03-19 Thread David Crooke

For any serious application, you should use Apache in front of Tomcat, and it has
this capability built in.

Alec Bau wrote:

 On Solaris 2.7 we need Tomcat process to use port 80 but to run under id other
 than root. Is there a trick or conf option to do this, i.e. grab port 80 under
 root and then set user id to something else? Or the only way is to modify source
 and to call setuid via JNI after socket is bound?

 Thanks,
 Alec




Re: Running Tomcat on port 80 under non root?

2001-03-19 Thread C.M. Rahman (jr.)

I have tried to make mod_jk.so on solaris 2.7 for apache but no luck.
Anybody were able to make one?

Thanks


C.M. Rahman
Network Engineer
CCS Internet
13740 Research Blvd. Suite O-4
Austin, TX 78758
[EMAIL PROTECTED]
- Original Message -
From: David Crooke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 19, 2001 10:47 PM
Subject: Re: Running Tomcat on port 80 under non root?


 For any serious application, you should use Apache in front of Tomcat, and
it has
 this capability built in.

 Alec Bau wrote:

  On Solaris 2.7 we need Tomcat process to use port 80 but to run under id
other
  than root. Is there a trick or conf option to do this, i.e. grab port 80
under
  root and then set user id to something else? Or the only way is to
modify source
  and to call setuid via JNI after socket is bound?
 
  Thanks,
  Alec