Re: Making logs readable by other user than root

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



On Sat, Jun 13, 2009 at 09:54:08AM +0100, Magnus Therning wrote:
> waldek wrote:
>> Dnia sobota 13 czerwiec 2009 o 09:50:47 Thomas Bächler napisał(a):
>>> Magnus Therning schrieb:
>>>> Is there a good HOWTO on making syslog-ng create files with owner:group
>>>> other than root:root?  I'd like to make it possible for some users to
>>>> read the logs in /var/log.
>>>>
>>>> Any good suggestion for an already existing group to use?  I was
>>>> thinking of either log or wheel, any thoughts?
>>> syslog-ng uses root:log in its default configuration. If it doesn't
>>> check /etc/syslog-ng.conf.pacnew and see if the log group exists for you.
>>
>> interesting, it did not work for me. in the /etc/syslog-ng.conf there was:
>>
>> group("log");
>>
>> and syslog-ng ignored this setting, I changed it to:
>>
>> group(19);
>>
>> as specified in the man page and it works fine now.
>
> Yes, same here.  There should be a bug raised I guess.  If no one beats 
> me to it I'll raise on tonight.
>
Works here. Remember to log out and relogin; see the output of 'groups'.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux