From d7e2deae9250abd79ab83c2025b98476dde710d3 Mon Sep 17 00:00:00 2001 From: madaidan <50278627+madaidan@users.noreply.github.com> Date: Sun, 8 Dec 2019 16:50:54 +0000 Subject: [PATCH] Create permission-hardening.service --- lib/systemd/system/permission-hardening.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/systemd/system/permission-hardening.service diff --git a/lib/systemd/system/permission-hardening.service b/lib/systemd/system/permission-hardening.service new file mode 100644 index 0000000..216da23 --- /dev/null +++ b/lib/systemd/system/permission-hardening.service @@ -0,0 +1,14 @@ +[Unit] +Description=File permission hardening +Documentation=https://github.com/Whonix/security-misc +DefaultDependencies=no +Before=sysinit.target +Requires=local-fs.target +After=local-fs.target + +[Service] +Type=oneshot +ExecStart=/usr/lib/security-misc/permission-hardening + +[Install] +WantedBy=sysinit.target