|
I need to run splunk as non-root user as per security policy of the customer. The challenge I have faced is with Syslog-ng. So the idea is to run syslog-ng as non-root user (let's say the user that is running splunk) which should allow splunk running with the same non-root user to read the syslog files. is this feasible? anyone has seen/done this before? thanks |
|
Not really familiar with syslog-ng, but if you use In your
Hope this helps, Kristian i think the better option is of course to not run things as root when they dont need to, better yet, non-root in chroot environment is ideal. start syslog-ng per the link i provided. i will also suggest to run syslog-ng not as same uid as splunkd. you can configure syslog-ng.conf with destination owner,group,perm settings for the files. files should be owned by syslog, grouped with splunkd uid, and perms 640. so, you can run syslog-ng as one uid, splunkd as another uid, and you can have syslog-ng write files using yet another uid, etc. do not rely on logrotate to handle owner,group,perm.
(04 Apr '12, 07:12)
cvajs
|
|
|