[arch-general] Read permissions on /var/log/auth.log being reverted

E Wilson ebadf1 at gmail.com
Mon Sep 6 01:53:17 EDT 2010


Wow, didn't know syslog did all that. I won't be changing the
permissions though, but now have more to learn. Thanks a bunch.

E Wilson

On 6 September 2010 15:46, Gerardo Exequiel Pozzi
<vmlinuz386 at yahoo.com.ar> wrote:
>  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