[rbldnsd] Log File Problem

rbldnsd@corpit.ru rbldnsd@corpit.ru
Tue, 28 Oct 2003 13:56:01 -0500 (EST)


On Tue, 28 Oct 2003, Armando Ortiz wrote:

> Great tool...I've been setting up spam traps and such and automating the
> process of collecting IP's.  So far I've dumped quite a few emails using
> this, so good work!
> 
> Now to the problem:
> Whenever I had started the daemon to set its userid/group to
> nobody:nogroup and try to log the daemon in /var/log/rbldsnd.log, I got a
> permissions denied error.  I had to end up touching the file and owned it
> by nobody:nogroup with write permissions.  Shouldn't this be done
> automatically?

You mean before dropping root privileges?  Why not just create a user just 
for rbldnsd to run as, and have it log to a file in a directory owned by 
that user?
 
----------------------------------------------------------------------
 Jon Lewis *jlewis@lewis.org*|  I route
 Senior Network Engineer     |  therefore you are
 Atlantic Net                |  
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________