1 <?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
2 <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
6 SPDX-License-Identifier: LGPL-2.1+
8 This file is part of systemd.
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
18 <vendor>The systemd Project</vendor>
19 <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
21 <action id="org.freedesktop.timedate1.set-time">
22 <description gettext-domain="systemd">Set system time</description>
23 <message gettext-domain="systemd">Authentication is required to set the system time.</message>
25 <allow_any>auth_admin_keep</allow_any>
26 <allow_inactive>auth_admin_keep</allow_inactive>
27 <allow_active>auth_admin_keep</allow_active>
29 <annotate key="org.freedesktop.policykit.imply">org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-ntp</annotate>
32 <action id="org.freedesktop.timedate1.set-timezone">
33 <description gettext-domain="systemd">Set system timezone</description>
34 <message gettext-domain="systemd">Authentication is required to set the system timezone.</message>
36 <allow_any>auth_admin_keep</allow_any>
37 <allow_inactive>auth_admin_keep</allow_inactive>
38 <allow_active>auth_admin_keep</allow_active>
42 <action id="org.freedesktop.timedate1.set-local-rtc">
43 <description gettext-domain="systemd">Set RTC to local timezone or UTC</description>
44 <message gettext-domain="systemd">Authentication is required to control whether
45 the RTC stores the local or UTC time.</message>
47 <allow_any>auth_admin_keep</allow_any>
48 <allow_inactive>auth_admin_keep</allow_inactive>
49 <allow_active>auth_admin_keep</allow_active>
53 <action id="org.freedesktop.timedate1.set-ntp">
54 <description gettext-domain="systemd">Turn network time synchronization on or off</description>
55 <message gettext-domain="systemd">Authentication is required to control whether
56 network time synchronization shall be enabled.</message>
58 <allow_any>auth_admin_keep</allow_any>
59 <allow_inactive>auth_admin_keep</allow_inactive>
60 <allow_active>auth_admin_keep</allow_active>