[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logs and Permissions for Daemons



Itai Zukerman <zukerman@math-hat.com> wrote:
>
> I have a daemon that does _not_ require root priviledges to work
> normally.  It does produce some log files, however.  Is there a
> standard technique for handling this situation (I mean starting the
> daemon in init.d as a non-priviledged user but still having permission
> to write to logs)?  The trick is, I would rather not create a new user
> or group just for this daemon.

There is nothing wrong with creating a new user when the alternative is
running as root.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply to: