Re: Making logs readable by other user than root

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



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.

/M

--
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

Attachment: signature.asc
Description: OpenPGP digital signature


[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