You are not logged in.

#1 2005-06-05 14:18:30

max_sipos
Member
From: Ithaca, NY
Registered: 2004-10-31
Posts: 106
Website

"log" group

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/*.log

Best regards,

Offline

#2 2005-06-05 20:37:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: "log" group

post this as a feature request in the bug tracker (devs don't read the forums much)

Offline

#3 2005-06-05 23:51:14

max_sipos
Member
From: Ithaca, NY
Registered: 2004-10-31
Posts: 106
Website

Re: "log" group

OK, thanks, I will.
I also made a mistake up there, guid(x) should really be group("log").

Offline

#4 2005-06-06 14:38:20

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: "log" group

max_sipos wrote:

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

#5 2005-06-06 15:05:08

medicated
Member
From: Storm Lake, IA
Registered: 2005-03-11
Posts: 79

Re: "log" group

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

Board footer

Powered by FluxBB