You are not logged in.
Pages: 1
I 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); <<<
guid(x); <<<
};where x is the GUID of "log" group. That needs to be decided, however I assume there is some sort of a standard of GUIDs for linux distributions.
Finally, it seems that the permissions on the logs would need to be changed.
chgrp log /var/log/*.log
chmod 0640 /var/log/*.logBest regards,
Offline
post this as a feature request in the bug tracker (devs don't read the forums much)
Offline
OK, thanks, I will.
I also made a mistake up there, guid(x) should really be group("log").
Offline
OK, thanks, I will.
I also made a mistake up there, guid(x) should really be group("log").
thanks, and for the record, I like the idea... I dislike having to switch to root to scan some logs 8)
Offline
OOoo..good idea. I hope this gets implemented. There are lots of situations where(to me) it doesn't make sense to require a root login simply to view log files.
Offline
Pages: 1