Running processes as no root...

2003-11-26 Thread Xpression
Hi list, I've recently installed some services (WWW, Proxy,
FTP) on a FreeBSD-4.8 server, I read all documentation about
running processes as no root, ok I agree about it, but every
process still running with some user and group but each one
have one process running like root, this is ok, or I dismiss
something ??? Thanks...


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running processes as no root...

2003-11-26 Thread Jean-Baptiste Quenot
* Xpression:

 Hi list, I've recently installed some  services (WWW, Proxy, FTP) on a
 FreeBSD-4.8 server,  I read all documentation  about running processes
 as no root, ok I agree about  it, but every process still running with
 some user and  group but each one have one  process running like root,
 this is ok, or I dismiss something ??? Thanks...

Usually there  is one process owned  by root, that is  used for critical
operation,  but the  others  are forked  from it  and  have their  owner
switched, to  user 'www'  as of  Apache.  To  be able  to write  the log
files,  to switch  user,  and  a few  more  operations,  this is  indeed
achieved as root.  All child processes are typically non-root.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature