diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-17 23:47:09 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-18 00:02:58 +0900 |
commit | a8f2b6912e73f8777cd198290a593b41806f145d (patch) | |
tree | 9585b5979304180e5b5945dd2a47561226efd821 /src/core/org.freedesktop.systemd1.policy.in | |
parent | 51b66c7a8a8afc8241373e864514d5ac7b87f169 (diff) | |
download | systemd-a8f2b6912e73f8777cd198290a593b41806f145d.tar.gz |
core: systemd1.manage-unit-files policy implies systemd1.manage-units
This makes e.g. `systemctl enable --now` ask password only once.
Follow-up for b07abe63d3abf03df559f7cb2c9863943df22274.
Diffstat (limited to 'src/core/org.freedesktop.systemd1.policy.in')
-rw-r--r-- | src/core/org.freedesktop.systemd1.policy.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/org.freedesktop.systemd1.policy.in b/src/core/org.freedesktop.systemd1.policy.in index c60cc0b20b..001408d34a 100644 --- a/src/core/org.freedesktop.systemd1.policy.in +++ b/src/core/org.freedesktop.systemd1.policy.in @@ -47,7 +47,7 @@ <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults> - <annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon</annotate> + <annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon org.freedesktop.systemd1.manage-units</annotate> </action> <action id="org.freedesktop.systemd1.set-environment"> |