NoPaste

PolicyKit.conf

von gms

SNIPPET_TEXT:
  1. <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
  2.  
  3. <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
  4. "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
  5.  
  6. <!-- See the manual page PolicyKit.conf(5) for file format -->
  7.  
  8. <config version="0.1">
  9. <define_admin_auth group="root"/>
  10. <match user="root">
  11.         <return result="yes"/>
  12. </match>
  13. <match user="gms">
  14.   <match action="org.freedesktop.hal.storage.mount-fixed">
  15.     <return result="yes"/>
  16.   </match>
  17.   <match action="org.freedesktop.hal.power-management.hibernate">
  18.     <return result="yes"/>
  19.   </match>
  20.   <match action="org.freedesktop.hal.power-management.reboot-multiple-sessions">
  21.     <return result="yes"/>
  22.   </match>
  23.   <match action="org.freedesktop.hal.power-management.reboot">
  24.     <return result="yes"/>
  25.   </match>
  26.   <match action="org.freedesktop.hal.power-management.set-powersave">
  27.     <return result="yes"/>
  28.   </match>
  29.   <match action="org.freedesktop.hal.power-management.shutdown-multiple-sessions">
  30.     <return result="yes"/>
  31.   </match>
  32.   <match action="org.freedesktop.hal.power-management.shutdown">
  33.     <return result="yes"/>
  34.   </match>
  35.   <match action="org.freedesktop.hal.power-management.suspend">
  36.     <return result="yes"/>
  37.   </match>
  38. </match>
  39. </config>

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN