On 11/28/2013 12:37 AM, Kay Sievers 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

What if I want this user to also see the log of for example cron?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to