[rbldnsd] Log File Problem
rbldnsd@corpit.ru
rbldnsd@corpit.ru
Tue, 28 Oct 2003 14:05:00 -0500 (EST)
On Tue, 28 Oct 2003, Armando Ortiz wrote:
> > 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."
Right...but if you put the data and log files in say /var/rbldnsd/,
created a user rbldnsd, and chown rbldnsd /var/rbldnsd, then rbldnsd
running as rbldnsd will have no trouble logging to /var/rbldnsd/log.
----------------------------------------------------------------------
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_________