Got it. Thanks! John
> -----Original Message----- > From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 1:54 PM > To: Tomcat Users List > Subject: RE: [OFF-TOPIC] RE: Na�ve question about root > > > Just as an aside and not necessarily all that important but a > process that > separates itself from its parent process will be picked up by the init > process that's why you get a PPID of 1 even though the process wasn't > started at boot by the init process. > > Regards, > > Drew > > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 12:39 PM > To: 'Tomcat Users List' > Subject: RE: [OFF-TOPIC] RE: Na�ve question about root > > > > Good questions, all. :) > > 1) Apache has a lot of processes, one is the root process > used to bind to > port 80, the others are children ready to serve HTTP requests. That's > normal. The root process on 80 is the one attributed to user > "root", the > children for request serving are the processes attributed to > user "apache". > Most people use user "nobody" for Apache (nobody is a special type of > restricted user), but its not a big deal. > > 2) Yeah, those Java processes are normal. They are all > Tomcat. To change > them from running as root, you want to create a tomcat user, > and then do a > "su - tomcat", then start up Tomcat. Once Tomcat is started, > you can type > "exit" and go back to your regular user. You'll want to make sure the > CATALINA_HOME tree and files are at least readable and > executable by user > tomcat. You should change the processes to run as a non-root > user when you > can. The less things that run as root on your system, the > better. Root > should always be an informed exception, never a lazy norm > (not that you're > lazy, I think you get what I mean). > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
