Been there,  can't do that with tomcat. The switch over you describe is NOT
available in the current version of tomcat, there is talk of it being added.
There is a jguru post on this subject, the author suggests a perl redirector
or Apache/mod_jk.



----- Original Message -----
From: "Jay Wright" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 1:51 PM
Subject: RE: Running Tomcat as a user other than root


>
> Excellent, this is what I was looking for.  How do you switch to another
> user?  Is that configurable in the tomcat configs or do I do it at the
> system level (through the startup.sh or catalina.sh scripts)?
>
> > -----Original Message-----
> > From: David Bank [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 19, 2002 10:50 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Running Tomcat as a user other than root
> >
> >
> > That's correct - on most (if not all) *NIX implementations,
> > you cannot bind to Post 80 except as a super-user. There's no
> > equivalent restriction in Windoze.
> >
> > However, once that binding is established, the process can
> > Run As under a different user ID. This is typical of Apache
> > installs on UNIX - mine is launched from root for the
> > binding, but switches to a dedicated user ID to run under.
> >
> > Dave Bank
> >
> > >>> [EMAIL PROTECTED] 04/19/02 01:46PM >>>
> >
> > on unix?  i was under the impression that you could not bind
> > to port 80 as a
> > user other than root.
> >
> > > -----Original Message-----
> > > From: Peter Choe [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, April 19, 2002 10:41 AM
> > > To: Tomcat Users List; 'Tomcat Users List'
> > > Subject: Re: Running Tomcat as a user other than root
> > >
> > >
> > > i was able to create a tomcat user and run it as tomcat
> > > instead of root.
> > >
> > > i su to tomcat user and start catalina.sh.
> > >
> > > At 01:33 PM 4/19/2002, Jay Wright wrote:
> > >
> > > >On solaris, is it possible to run tomcat as a user other than root?
> > > >Hopefully a config that can be set?
> > > >
> > > >Jay
> > > >
> > > >--
> > > >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]>

Reply via email to