[syslog-ng] non-root and chroot

Aleph One aleph1@underground.org
Sat, 15 Apr 2000 15:38:47 -0700


Is there any work in allowing syslog-ng to:

a) change its uid and gids to non-root after is has started and opened the
   appropriate inputs.
b) chroot itself after it has started an opened the appropriate inputs.

(a) is simple to implement. (b) requires a little more thought. e.g.
it should be smart enough to know that if a destination file is under
/var/log/logfiles/$DAY if it chroots to /var/log it should try to open
/logfiles/$DAY and not /var/log/logfiles/$DAY.

-- 
Aleph One / aleph1@underground.org
http://underground.org/
KeyID 1024/948FD6B5 
Fingerprint EE C9 E8 AA CB AF 09 61  8C 39 EA 47 A8 6A B8 01