Re: non-root syslogd?

From: Martin Schulze (joey@infodrom.org)
Date: Thu Jul 24 2003 - 20:56:59 CEST


Mark Ferlatte wrote:
> Is there any interest in patches to syslogd/klogd that allow them to run as a
> non-root user?
>
> I have a set of patches that use seteuid() to drop/regain root privs on HUP
> (so that create_unix_socket() and create_inet_socket() work).
>
> I've also been kicking around the idea of just using fork() + setuid() to have
> a parent root syslogd and a child non-root that does all of the work. This
> seems safer than using seteuid, but is maybe too invasive.

Please provide the patches. We can dump them in the patches/contrib
directory at least, so others can benefit from them as well.

Regards,

        Joey

-- 
Never trust an operating system you don't have source for!


This archive was generated by hypermail 2.1.7 : Thu Jul 24 2003 - 20:58:56 CEST