summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.timedate1.policy.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-22 01:08:10 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-22 01:08:10 +0200
commitc5f0532ff10abcf6808ff503fb10ca9f4df81efd (patch)
tree19908d6f85448e368bea8e0cc206388c27c67fdf /src/org.freedesktop.timedate1.policy.in
parente27796a03065fac50fad07d5b42682ecb1e17d46 (diff)
timedate: make NTP controllable too
Diffstat (limited to 'src/org.freedesktop.timedate1.policy.in')
-rw-r--r--src/org.freedesktop.timedate1.policy.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/org.freedesktop.timedate1.policy.in b/src/org.freedesktop.timedate1.policy.in
index f73e1aa7e0..3d9c2081d6 100644
--- a/src/org.freedesktop.timedate1.policy.in
+++ b/src/org.freedesktop.timedate1.policy.in
@@ -47,4 +47,15 @@
</defaults>
</action>
+ <action id="org.freedesktop.timedate1.set-ntp">
+ <_description>Turn network time synchronization on or off</_description>
+ <_message>Authentication is required to control whether
+ network time synchronization shall be enabled.</_message>
+ <defaults>
+ <allow_any>auth_admin_keep</allow_any>
+ <allow_inactive>auth_admin_keep</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+
</policyconfig>