[systemd-devel] looking at journal of other users

Michał Zegan webczat_200 at poczta.onet.pl
Tue Jul 12 11:08:53 UTC 2016


well, did not know about that! it actually seems to work, thank you very
much.

W dniu 12.07.2016 o 12:57, Lennart Poettering pisze:
> On Tue, 12.07.16 12:47, Michał Zegan (webczat_200 at 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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 510 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160712/50596a86/attachment.sig>


More information about the systemd-devel mailing list