summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------test1/multiuser.target.wants/permissions.service1
-rw-r--r--test1/permissions.service11
2 files changed, 12 insertions, 0 deletions
diff --git a/test1/multiuser.target.wants/permissions.service b/test1/multiuser.target.wants/permissions.service
new file mode 120000
index 0000000000..98f3d5fab2
--- /dev/null
+++ b/test1/multiuser.target.wants/permissions.service
@@ -0,0 +1 @@
+../permissions.service \ No newline at end of file
diff --git a/test1/permissions.service b/test1/permissions.service
new file mode 100644
index 0000000000..4d9b352fea
--- /dev/null
+++ b/test1/permissions.service
@@ -0,0 +1,11 @@
+[Meta]
+Description=Permission Enforcement checker
+
+[Service]
+ExecStart=/usr/bin/id
+ExecStartPost=/usr/bin/env
+ExecStartPost=/bin/sleep 5
+Type=finish
+Capabilities=all= cap_dac_override=eip
+User=nobody
+Group=nobody