[rbldnsd] Log File Problem
Armando Ortiz
rbldnsd@corpit.ru
Tue, 28 Oct 2003 10:57:13 -0800 (PST)
> 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?
Because I have it running on port 53. It needs to run root for that
before it becomes "nobody."
Regards,
Armando Ortiz
The On-Line Traffic School, Inc.
Senior Security/Network Administrator
http://www.onlinetraffic.com