Hi Geoff,
As far as I know (and I did a fair bit of research on this
topic), there is no way for any java app to start as one
user, then switch to running as another user.
What I do is run tomcat on port 8080 as non-root, and
use a firewall product to redirect port 80 - 8080. This
works fine.
Kitching - Thanks for the response. I was afraid of that.
'ifconfig' is the utility that lets you see information about the
network interfaces, not a firewall. :) Do you run multiple machines with
a firewall in front of them to do the redirection (w/ load balancing for
example) or do you run the
)
This, of course, makes you relatively platform specific.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Geoff Lane
Sent: Tuesday, January 16, 2001 12:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Running Tomcat as non-root user
Kitching - Thanks
You could use EJB's or a mobile agent framework?
-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 5:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Running Tomcat as non-root user
You may be able to write yourself some native code to do
: Tuesday, January 16, 2001 5:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Running Tomcat as non-root user
You may be able to write yourself some native code to do the switcheroo for
you. Then use the java calls to the native call. The code to do the user
switch is readily available (though I