Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17842

journal read as owner of a process started by systemd

$
0
0

If I start a tomcat with a unit file under a certain user and group, how can I give that user access to the log messages in the journal like "journalctl -u user-process"? Currently I give that user a sudo NOPASSWD for this exact command but I would like to do that without sudo and without granting access to any other journal messages.

submitted by /u/4gqa4Gh9_bLn-mZ
[link] [comments]

Viewing all articles
Browse latest Browse all 17842

Trending Articles