[systemd-devel] Seeing logging as user
Cecil Westerhof
Cecil.Westerhof at Snow.nl
Wed Nov 27 15:21:41 PST 2013
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?
Met vriendelijke groet,
Cecil Westerhof
Engineer
mobiel +31 - 6 - 25 00 38 81
--
Snow B.V.
Unix Specialists
De Ooyen 11
4191 PB Geldermalsen
http://www.snow.nl
tel. +31 - 345 - 65 66 66
More information about the systemd-devel
mailing list