mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
test1: add service for testing priv dropping
This commit is contained in:
parent
d455ad414c
commit
c85cf06d73
1
test1/multiuser.target.wants/permissions.service
Symbolic link
1
test1/multiuser.target.wants/permissions.service
Symbolic link
@ -0,0 +1 @@
|
||||
../permissions.service
|
11
test1/permissions.service
Normal file
11
test1/permissions.service
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user