On Tue, 12.07.16 12:47, Michał Zegan (webczat_...@poczta.onet.pl) wrote:

> uhm the real question was: If I am already in the wheel group, how can I
> see the journal of other user? I believe that journalctl does not merge
> journals of all users in the system, does it? Even if it does, I believe
> it would be quite useful to be able to do journalctl --user someone and
> view his journal.

It will merge everything you have access to by default, as long as it
stems from the local host. "journalctl -m" then adds in even more,
such as stuff from local containers.

To filter logs from a specific user, try:

   journalctl _UID=`id -u lennart`

(This will show all logs from user "lennart")

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to