On 11/29/2013 01:22 AM, Mantas Mikulėnas wrote:
http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Access%20Control
 >>>
 >>>
 >>> What if I want this user to also see the log of for example cron?
 >>
 >>
 >> According to that link, you need to add the user to the
 >> systemd-journal group.
 >
 >
 > Then the user will see all messages I think. I mean its own messages
and cron, but nothing else.

The journal has two modes of separating messages - by login session's
owner, and by the uid of the process itself.

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).
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to