View previous topic :: View next topic |
Author |
Message |
zbindere Guru
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Wed Feb 16, 2005 1:17 pm Post subject: change rights of /var/log/messages |
|
|
would it be a big security risk when I change the
/var/log/messages rights from
600 to 640
And where can I do that? I already did that but it changed back to 600.
is that a logrotate entry? |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Wed Feb 16, 2005 9:22 pm Post subject: |
|
|
Set up your syslogger to use whatever permissions you want. I use syslog-ng, and I have a group called log where the users can view the system logs. Here is an example destination entry from my syslog-ng.conf: Code: | destination messages { file("/var/log/messages" owner("root") group("log") perm(0640)); }; |
Hope that helps.
Håk |
|
Back to top |
|
|
|