From: Lennart Poettering Date: Sun, 14 Feb 2010 21:46:47 +0000 (+0100) Subject: test1: add service for testing priv dropping X-Git-Tag: v1~682 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c85cf06d73fce98ca2680eae5d32418c30e22b4c;ds=inline test1: add service for testing priv dropping --- diff --git a/test1/multiuser.target.wants/permissions.service b/test1/multiuser.target.wants/permissions.service new file mode 120000 index 000000000..98f3d5fab --- /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 000000000..4d9b352fe --- /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