Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For systemd/journald managed log, best is to add non privileged user to the systemd-journal group.

For logs managed by syslog daemons, most implementations allows you to set the owner and group of the log files. You could decide on a specific log group and add the desired dedicated user to this group.

In the end it is usually better to ship the logs to a dedicated machine/space/database.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: