diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:46:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:46:47 +0100 |
commit | c85cf06d73fce98ca2680eae5d32418c30e22b4c (patch) | |
tree | 84d5af982e3599fe2466b7c04bb4c093110b4ce8 /test1 | |
parent | d455ad414cd5ffd5fde2406240cc17810f53317b (diff) |
test1: add service for testing priv dropping
Diffstat (limited to 'test1')
l--------- | test1/multiuser.target.wants/permissions.service | 1 | ||||
-rw-r--r-- | test1/permissions.service | 11 |
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 |