[arch-general] Making logs readable by other user than root

waldek waldek.news at web.de
Sat Jun 13 06:13:13 EDT 2009


Dnia sobota 13 czerwiec 2009 o 11:05:13 Thomas Bächler napisał(a):
> Magnus Therning schrieb:
> >> 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.
>
> It probably should. I'm confused though, it works for me with the group
> name (as in the default config).

Speaking about confusion - seems to work now with both options:

group("log");

and

group(19);

funny thing is that the "group("log");" is in the default one .conf file, so 
the logs should have belonged to the log group but they did not - belive me - 
I am not mad ;-) the only proof I have is this:

[waldek at wolfblade log]$ ll syslog.log*
-rw-r----- 1 root log   338 2009-06-13 11:56 syslog.log
-rw-r----- 1 root root 5483 2009-06-10 22:02 syslog.log.1
-rw-r----- 1 root root 1131 2009-05-30 09:44 syslog.log.2
-rw-r----- 1 root root 2493 2009-05-27 06:48 syslog.log.3
-rw-r----- 1 root root  875 2009-05-16 09:00 syslog.log.4

regards

waldek





More information about the arch-general mailing list