Re: can't start cocoon under root

2002-07-05 Thread Andrew C. Oliver
True. The processes handling the requests however run as nobody. I suppose one could still find a way to compromise the master process, but I find it way more likely that they'd compromise the children. Furthermore, Its still a horrid idea to run tomcat as root, as you're running *everything* u

Re: can't start cocoon under root

2002-07-05 Thread BenoƮt Clouet
> ->there is an error message in my catalin.out like this: > Xlib: connection to "212.186.159.80:0.0" refused by server > Xlib: No protocol specified > > ->the cocoon page puts out the following > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.InternalError: Can't con

Re: can't start cocoon under root

2002-07-05 Thread Kim Jelmoni
type $xhost+ on a terminal of the user witch started the X server. Kim PS: why you want to start tomcat under roor user ... this is normally a bad idea. Quoting Thomas Garger <[EMAIL PROTECTED]>: > hi! > > i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 > > if i start tomcat under a

Re: can't start cocoon under root

2002-07-05 Thread Bruno Dumon
On Fri, 2002-07-05 at 15:48, Andrew C. Oliver wrote: > Hummm. I'm not running Apache as root (its running as "nobody"). It > responds on port 80. > I'm starting it with apachectl. > If it responds to port 80, the main httpd process is running with root privileges. The user that is used fo

Re: can't start cocoon under root

2002-07-05 Thread Andrew C. Oliver
Hummm. I'm not running Apache as root (its running as "nobody"). It responds on port 80. I'm starting it with apachectl. Its generally a better idea to run Apache in front of tomcat for performance reasons. Tomcat is actually pretty slow on the scale of things, where Apache is actually

RE: can't start cocoon under root

2002-07-04 Thread Thomas Garger
-Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 04. Juli 2002 19:03 To: [EMAIL PROTECTED] Subject: Re: can't start cocoon under root I can't say. Why? The set of possibilities are infinite. This is a basic prinicipal of unix security.

Re: can't start cocoon under root

2002-07-04 Thread Andrew C. Oliver
here be some security problems? which one? > >greetings, chris > >-Original Message- >From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] >Sent: Donnerstag, 04. Juli 2002 18:33 >To: [EMAIL PROTECTED] >Subject: Re: can't start cocoon under root > > >just for

RE: can't start cocoon under root

2002-07-04 Thread Stephan Michels
PROTECTED]] > Sent: Donnerstag, 04. Juli 2002 18:33 > To: [EMAIL PROTECTED] > Subject: Re: can't start cocoon under root > > > just for the record. You really shouldn't run tomcat as root. > > Thomas Garger wrote: > > >hi! > > > >i use tomcat 4.0.1, coc

RE: can't start cocoon under root

2002-07-04 Thread Thomas Garger
why not? could there be some security problems? which one? greetings, chris -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 04. Juli 2002 18:33 To: [EMAIL PROTECTED] Subject: Re: can't start cocoon under root just for the record. You r

Re: can't start cocoon under root

2002-07-04 Thread Andrew C. Oliver
just for the record. You really shouldn't run tomcat as root. Thomas Garger wrote: >hi! > >i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 > >if i start tomcat under a normal user (not root) everthing >works fine. > >but if i start tomcat under root user - and i want to access cocoon > >-

Re: can't start cocoon under root

2002-07-04 Thread Bruno Dumon
On Thu, 2002-07-04 at 17:33, Thomas Garger wrote: > hi! > > i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 > > if i start tomcat under a normal user (not root) everthing > works fine. > > but if i start tomcat under root user - and i want to access cocoon > > ->there is an error message i

can't start cocoon under root

2002-07-04 Thread Thomas Garger
hi! i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 if i start tomcat under a normal user (not root) everthing works fine. but if i start tomcat under root user - and i want to access cocoon ->there is an error message in my catalin.out like this: Xlib: connection to "212.186.159.80:0.0" r