non-root syslogd?

From: Mark Ferlatte (ferlatte@cryptio.net)
Date: Thu Jul 24 2003 - 19:30:23 CEST


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.

M





This archive was generated by hypermail 2.1.7 : Thu Jul 24 2003 - 20:29:38 CEST