Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#2843 - There should be a a group "log"
Attached to Project:
Arch Linux
Opened by Maksim Sipos (maxsipos) - Saturday, 18 June 2005, 03:47 GMT
Last edited by Jürgen Hötzel (juergen) - Sunday, 19 June 2005, 18:16 GMT
Opened by Maksim Sipos (maxsipos) - Saturday, 18 June 2005, 03:47 GMT
Last edited by Jürgen Hötzel (juergen) - Sunday, 19 June 2005, 18:16 GMT
|
DetailsI suggest an addition of group "log" to /etc/group. This would allow privileged users to read the system logs.
In /etc/syslog-ng/syslog-ng.conf: options { sync (0); time_reopen (10); log_fifo_size (1000); long_hostnames(off); use_dns (no); use_fqdn (no); create_dirs (no); keep_hostname (yes); perm(0640); <<< group("log"); <<< }; It needs to be decided what GUID should be set for group "log" in /etc/group Finally, it seems that the permissions on the logs would need to be changed. Code: chgrp log /var/log/*.log chmod 0640 /var/log/*.log |
This task depends upon
by the way, some daemons create their own logfiles without utilizing syslog (apache, samba)
Jürgen
Do note that some users like being able to check their logs (I have a setup streaming important syslog stuff into torsmo on my desktop), and they have two possibilities:
1) su
2) the above shown setup, which involves quite a bit of reading and the confusing explanation of group() option in syslog-ng.conf man page.
In fact, two other users expressed the same idea, see http://bbs.archlinux.org/viewtopic.php?t=12814 .
However I can see you point regarding apache and samba logs. Therefore the group could be called "syslog" and allow the users to read.. system logs.