what i talked about (changing file permissions) apply to unix only. as far as i know, all flavors of unix support file permissions. also, this is with the default tomcat setting of using port 8080.
again, afaik, all unix systems will only allow root to bind to ports 255 and below, including 80. so to run tomcat as another user you can't use port 80. though someone else has pointed out that you can bind to port 80 first and then change your user to a non-root user. however, if you use windows, then i think you can bind to port 80 with any user. then again, you probably won't need to worry about file permissions either if you're running windows. On 2002.04.19 17:05 D Henton wrote: > Could you please give details. What OS? What port? Everything I've read > since this can't be done for port 80. > > > > > ----- Original Message ----- > From: "David Lu" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, April 19, 2002 1:14 PM > Subject: Re: Running Tomcat as a user other than root > > > > > > i am able to run tomcat as non-root with no problems. > > > > however, if you installed tomcat as root, you'll need > > to change a number of file permissions. specifically, > > the "work", and "log" directories under tomcat will > > need to have permissions set to writable by other. > > and if you need to install your webapp as non-root, > > then you'll need to change the permission of the > > webapps directory as well. > > > > or just chown the entire tomcat installation directory > > to the user you want to run tomcat as. > > > > > > On 2002.04.19 10:33 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]>
