Syslog permissions

Posted by Niels Kristian on Server Fault See other posts from Server Fault or by Niels Kristian
Published on 2012-12-14T16:28:39Z Indexed on 2012/12/14 17:05 UTC
Read the original article Hit count: 353

Filed under:
|
|

I'm using the $InputFile facility in rsyslog to monitor various log files scattered around my ubuntu 12.04 server. E.g. nginx, unicorn, rails, postgres, cron etc. Now my problem is, that some of these log files are created with -rw-r----- right, so rsyslog doesn't have read rights. Since I install most of the programs using apt-get, and therefore didn't change anything from default. So, in other words, I would like not to modify every singe log file / daemon to have the right permissions, if I instead could give syslog read access to all of them at once. But the question is - can I do that, and is it the "right thing to do"?

© Server Fault or respective owner

Related posts about permissions

Related posts about logging