[systemd-devel] Seeing logging as user

Kay Sievers kay at vrfy.org
Wed Nov 27 15:37:23 PST 2013


On Thu, Nov 28, 2013 at 12:21 AM, Cecil Westerhof
<Cecil.Westerhof at snow.nl> wrote:
> I have to give a presentation about systemd/journald. One of the things I
> want to show is that you do not need an administrator to see the log
> messages that are generated by you.
>
> I did:
> - makedir /var/log/journal
> - systemctl kill -s SIGUSR1 systemd-journald
>
> As user cecil I did:
>     printf "Create an error\n" | logger
>
> When I as root do:
>     journalctl _UID=<uid>
>
> I see:
>     Nov 27 23:26:38 Equus.Decebal.nl cecil[25091]: Create an error
>
> But when I do the same as cecil, I see nothing. What is going wrong here?

http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Access%20Control

Kay


More information about the systemd-devel mailing list