[systemd-devel] Seeing logging as user
Lennart Poettering
lennart at poettering.net
Thu Nov 28 19:00:14 PST 2013
On Fri, 29.11.13 01:32, Cecil Westerhof (Cecil.Westerhof at Snow.nl) wrote:
> >Your cronjobs do not run in a systemd-logind session (though they
> >could), but they /do/ run with your uid, so you would be able to see
> >them in the split-by-uid mode at least.
>
> Is not what I mend. I want user cecil to see all his own messages
> and all cron messages (so not only his own) but nothing else (so for
> example not sshd).
The journal is not supposed to be a super-flexible routing daemon that
can pipe your logs into arbitrary place with arbitrary filters
implementing arbitrary acess control. That already exists, it's
"rsyslog" or a similar project. It's explicitly not what we try to cover
with journald.
That said you can make this work by setting journald to split things up
by uid (SplitMode=uid), and then playing games with FS ACLs...
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list