summaryrefslogtreecommitdiff
path: root/test1/permissions.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 22:46:47 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 22:46:47 +0100
commitc85cf06d73fce98ca2680eae5d32418c30e22b4c (patch)
tree84d5af982e3599fe2466b7c04bb4c093110b4ce8 /test1/permissions.service
parentd455ad414cd5ffd5fde2406240cc17810f53317b (diff)
test1: add service for testing priv dropping
Diffstat (limited to 'test1/permissions.service')
-rw-r--r--test1/permissions.service11
1 files changed, 11 insertions, 0 deletions
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