From c85cf06d73fce98ca2680eae5d32418c30e22b4c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 14 Feb 2010 22:46:47 +0100 Subject: test1: add service for testing priv dropping --- test1/multiuser.target.wants/permissions.service | 1 + test1/permissions.service | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 120000 test1/multiuser.target.wants/permissions.service create mode 100644 test1/permissions.service (limited to 'test1') 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 -- cgit v1.2.3-54-g00ecf