1 |
On Mon, 08 May 2017 16:50:42 +0100, Peter Humphrey wrote: |
2 |
|
3 |
> As /var/log/messages is so determinedly accessible only to root, can |
4 |
> any log analyser ever work? |
5 |
|
6 |
I've used logcheck and have /var/log/messages readable by it. |
7 |
|
8 |
-rw-r----- 1 root logcheck 811K May 9 08:46 /var/log/messages |
9 |
|
10 |
I have this in syslog-ng.conf |
11 |
|
12 |
options { |
13 |
[snip default stuff] |
14 |
|
15 |
#(Make log files group-readable by logcheck) |
16 |
group(logcheck); |
17 |
perm(0640); |
18 |
}; |
19 |
|
20 |
|
21 |
-- |
22 |
Neil Bothwick |
23 |
|
24 |
The trouble with doing something right the first time is that nobody |
25 |
appreciates how difficult it was. |