Access User Service Logs Without systemd-journal Group
Issue
- Unable to view user service logs with journalctl --user-unit due to insufficient permissions
[user1@test ~]$ journalctl --user-unit test-log.service
Hint: You are currently not seeing messages from the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
- The user
user1is not allowed to join thesystemd-journalgroup.
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.