[PLUG] Permissions for /var/log/

Matt Alexander m at netpro.to
Wed May 15 17:05:36 UTC 2002


What's the name of the logfile that it's actually writing to?  If it's
something like "majordomo", then you could have 755 permissions on
/var/log and chown the majordomo logfile to whatever user majordomo is
running as.
~M


On Wed, 15 May 2002, Rich Shepard wrote:

> On Wed, 15 May 2002, Paul Heinlein wrote:
>
> >    BTW. Having a world-writeable /var/log wouldn't be my first choice.
>
> Paul,
>
>   Despite the rather restricted nature of the little network here, I agree
> with you that it's not a good practice.
>
> > 2. There may be a variable or run-time flag you can set that'll direct
> >    majordomo to log into a different directory. If so, then you could
> >    point it at, say, /var/log/majordomo and do something like
> >
> >    mkdir /var/log/majordomo
> >    chown majordom /var/log/majordomo
>
>   Perhaps I've not had enough caffine this morning, but I don't quite follow
> this. However, I think it might work to have the log written to /tmp rather
> than /var/log. Is there a flaw to doing this of which I am naive?
>
> Thanks,
>
> Rich
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>





More information about the PLUG mailing list