[arch-general] Read permissions on /var/log/auth.log being reverted
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Mon Sep 6 01:46:38 EDT 2010
On 09/06/2010 02:37 AM, E Wilson wrote:
> Hi group
>
> When I make my auth.log file world-readable (big security risk), the
> system reverts it to unreadable by world. Could someone tell me what
> kind program/daemon is changing the permissions back and if said
> daemon has a log somewhere. I would like to shake its hand. something
> out of cron?
>
> This is Arch running in a hosted VM environment.
>
> Thanks
> E Wilson
> (New Linux and Arch User)
>
in /etc/syslog-ng.conf
-destination d_authlog { file("/var/log/auth.log"); };
+destination d_authlog { file("/var/log/auth.log" perm(0644)); };
good luck!
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-general
mailing list