From 6a716208b346b742053cfd01e76f76fb27c4ea47 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Wed, 11 Feb 2015 18:32:14 +0200 Subject: units: add SecureBits No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files. --- units/systemd-journal-gatewayd.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-journal-gatewayd.service.in') diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in index 987220e554..f15a37f9d1 100644 --- a/units/systemd-journal-gatewayd.service.in +++ b/units/systemd-journal-gatewayd.service.in @@ -11,6 +11,7 @@ Requires=systemd-journal-gatewayd.socket [Service] ExecStart=@rootlibexecdir@/systemd-journal-gatewayd +SecureBits=noroot noroot-locked User=systemd-journal-gateway Group=systemd-journal-gateway SupplementaryGroups=systemd-journal -- cgit v1.2.1