chiark / gitweb /
logind: make sure we hand out write fd, and keep read fd for session end detection
[elogind.git] / src / org.freedesktop.timedate1.policy
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">
4
5 <!--
6   This file is part of systemd.
7
8   systemd is free software; you can redistribute it and/or modify it
9   under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2 of the License, or
11   (at your option) any later version.
12 -->
13
14 <policyconfig>
15
16         <vendor>The systemd Project</vendor>
17         <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
18
19         <action id="org.freedesktop.timedate1.set-time">
20                 <description>Set system time</description>
21                 <message>Authentication is required to set the system time.</message>
22                 <defaults>
23                         <allow_any>auth_admin_keep</allow_any>
24                         <allow_inactive>auth_admin_keep</allow_inactive>
25                         <allow_active>auth_admin_keep</allow_active>
26                 </defaults>
27         </action>
28
29         <action id="org.freedesktop.timedate1.set-timezone">
30                 <description>Set system timezone</description>
31                 <message>Authentication is required to set the system timezone.</message>
32                 <defaults>
33                         <allow_any>auth_admin_keep</allow_any>
34                         <allow_inactive>auth_admin_keep</allow_inactive>
35                         <allow_active>auth_admin_keep</allow_active>
36                 </defaults>
37         </action>
38
39         <action id="org.freedesktop.timedate1.set-local-rtc">
40                 <description>Set RTC to local timezone or UTC</description>
41                 <message>Authentication is required to control whether
42                 the RTC stores the local or UTC time.</message>
43                 <defaults>
44                         <allow_any>auth_admin_keep</allow_any>
45                         <allow_inactive>auth_admin_keep</allow_inactive>
46                         <allow_active>auth_admin_keep</allow_active>
47                 </defaults>
48         </action>
49
50 </policyconfig>