[systemd-devel] Seeing logging as user

Cecil Westerhof Cecil.Westerhof at Snow.nl
Fri Nov 29 03:16:44 PST 2013


On 11/29/2013 04:00 AM, Lennart Poettering wrote:
> 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...

OK. I will leave it for the moment, but keep this option in the back of 
my head.


More information about the systemd-devel mailing list