Advertisement
Guest User

udisks2

a guest
Oct 14th, 2012
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE policyconfig PUBLIC
  3. "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  4. "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
  5. <policyconfig>
  6.   <vendor>The udisks Project</vendor>
  7.   <vendor_url>http://udisks.freedesktop.org/</vendor_url>
  8.   <icon_name>drive-removable-media</icon_name>
  9.  
  10.  
  11.   <action id="org.freedesktop.udisks2.filesystem-mount">
  12.     <description>Mount a filesystem</description>
  13.     <message>Authentication is required to mount the filesystem</message>
  14.     <defaults>
  15.       <allow_any>auth_admin</allow_any>
  16.       <allow_inactive>auth_admin</allow_inactive>
  17.       <allow_active>yes</allow_active>
  18.     </defaults>
  19.   </action>
  20.  
  21.   <action id="org.freedesktop.udisks2.filesystem-mount-system">
  22.     <description>Mount a filesystem on a system device</description>
  23.     <message>Authentication is required to mount the filesystem</message>
  24.     <defaults>
  25.       <allow_any>auth_admin</allow_any>
  26.       <allow_inactive>auth_admin</allow_inactive>
  27.       <allow_active>yes</allow_active>
  28.     </defaults>
  29.   </action>
  30.  
  31.   <action id="org.freedesktop.udisks2.filesystem-fstab">
  32.     <description>Mount/unmount filesystems defined in the fstab file with the x-udisks-auth option</description>
  33.     <message>Authentication is required to mount/unmount the filesystem</message>
  34.     <defaults>
  35.       <allow_any>auth_admin</allow_any>
  36.       <allow_inactive>auth_admin</allow_inactive>
  37.       <allow_active>auth_admin_keep</allow_active>
  38.     </defaults>
  39.   </action>
  40.  
  41.   <action id="org.freedesktop.udisks2.filesystem-unmount-others">
  42.     <description>Unmount a device mounted by another user</description>
  43.     <message>Authentication is required to unmount a filesystem mounted by another user</message>
  44.     <defaults>
  45.       <allow_any>auth_admin</allow_any>
  46.       <allow_inactive>auth_admin</allow_inactive>
  47.       <allow_active>auth_admin_keep</allow_active>
  48.     </defaults>
  49.   </action>
  50.  
  51.  
  52.   <action id="org.freedesktop.udisks2.encrypted-unlock">
  53.     <description>Unlock an encrypted device</description>
  54.     <message>Authentication is required to unlock an encrypted device</message>
  55.     <defaults>
  56.       <allow_any>auth_admin</allow_any>
  57.       <allow_inactive>auth_admin</allow_inactive>
  58.       <allow_active>yes</allow_active>
  59.     </defaults>
  60.   </action>
  61.  
  62.   <action id="org.freedesktop.udisks2.encrypted-unlock-system">
  63.     <description>Unlock an encrypted system device</description>
  64.     <message>Authentication is required to unlock an encrypted device</message>
  65.     <defaults>
  66.       <allow_any>auth_admin</allow_any>
  67.       <allow_inactive>auth_admin</allow_inactive>
  68.       <allow_active>auth_admin_keep</allow_active>
  69.     </defaults>
  70.   </action>
  71.  
  72.   <action id="org.freedesktop.udisks2.encrypted-unlock-crypttab">
  73.     <description>Unlock an encrypted device specified in the crypttab file with the x-udisks-auth option</description>
  74.     <message>Authentication is required to unlock an encrypted device</message>
  75.     <defaults>
  76.       <allow_any>auth_admin</allow_any>
  77.       <allow_inactive>auth_admin</allow_inactive>
  78.       <allow_active>auth_admin_keep</allow_active>
  79.     </defaults>
  80.   </action>
  81.  
  82.   <action id="org.freedesktop.udisks2.encrypted-lock-others">
  83.     <description>Lock an encrypted device unlocked by another user</description>
  84.     <message>Authentication is required to lock an encrypted device unlocked by another user</message>
  85.     <defaults>
  86.       <allow_any>auth_admin</allow_any>
  87.       <allow_inactive>auth_admin</allow_inactive>
  88.       <allow_active>auth_admin_keep</allow_active>
  89.     </defaults>
  90.   </action>
  91.  
  92.   <action id="org.freedesktop.udisks2.encrypted-change-passphrase">
  93.     <description>Change passphrase for an encrypted device</description>
  94.     <message>Authentication is required to change the passphrase for an encrypted device</message>
  95.     <message xml:lang="da">Autorisering er påkrævet for at ændre kode-ordet for en krypteret enhed</message>
  96.     <defaults>
  97.       <allow_any>auth_admin</allow_any>
  98.       <allow_inactive>auth_admin</allow_inactive>
  99.       <allow_active>yes</allow_active>
  100.     </defaults>
  101.   </action>
  102.  
  103.   <action id="org.freedesktop.udisks2.encrypted-change-passphrase-system">
  104.     <description>Change passphrase for an encrypted device</description>
  105.     <message>Authentication is required to change the passphrase for an encrypted device</message>
  106.     <message xml:lang="da">Autorisering er påkrævet for at ændre kode-ordet for en krypteret enhed</message>
  107.     <defaults>
  108.       <allow_any>auth_admin</allow_any>
  109.       <allow_inactive>auth_admin</allow_inactive>
  110.       <allow_active>auth_admin_keep</allow_active>
  111.     </defaults>
  112.   </action>
  113.  
  114.  
  115.   <action id="org.freedesktop.udisks2.loop-setup">
  116.     <description>Manage loop devices</description>
  117.     <message>Authentication is required to set up a loop device</message>
  118.     <defaults>
  119.       <allow_any>auth_admin</allow_any>
  120.       <allow_inactive>auth_admin</allow_inactive>
  121.      
  122.       <allow_active>yes</allow_active>
  123.     </defaults>
  124.   </action>
  125.  
  126.   <action id="org.freedesktop.udisks2.loop-delete-others">
  127.     <description>Manage loop devices</description>
  128.     <message>Authentication is required to delete a loop device set up by another user</message>
  129.     <defaults>
  130.       <allow_any>auth_admin</allow_any>
  131.       <allow_inactive>auth_admin</allow_inactive>
  132.       <allow_active>auth_admin_keep</allow_active>
  133.     </defaults>
  134.   </action>
  135.  
  136.  
  137.   <action id="org.freedesktop.udisks2.manage-swapspace">
  138.     <description>Manage swapspace</description>
  139.     <message>Authentication is required to manage swapspace</message>
  140.     <defaults>
  141.       <allow_any>auth_admin</allow_any>
  142.       <allow_inactive>auth_admin</allow_inactive>
  143.       <allow_active>auth_admin_keep</allow_active>
  144.     </defaults>
  145.   </action>
  146.  
  147.  
  148.   <action id="org.freedesktop.udisks2.modify-device">
  149.     <description>Modify a device</description>
  150.     <message>Authentication is required to modify a device</message>
  151.     <defaults>
  152.       <allow_any>auth_admin</allow_any>
  153.       <allow_inactive>auth_admin</allow_inactive>
  154.       <allow_active>yes</allow_active>
  155.     </defaults>
  156.   </action>
  157.  
  158.   <action id="org.freedesktop.udisks2.modify-device-system">
  159.     <description>Modify a system device</description>
  160.     <message>Authentication is required to modify a device</message>
  161.     <defaults>
  162.       <allow_any>auth_admin</allow_any>
  163.       <allow_inactive>auth_admin</allow_inactive>
  164.       <allow_active>auth_admin_keep</allow_active>
  165.     </defaults>
  166.   </action>
  167.  
  168.  
  169.   <action id="org.freedesktop.udisks2.open-device">
  170.     <description>Open a device</description>
  171.     <message>Authentication is required to open a device</message>
  172.     <defaults>
  173.       <allow_any>auth_admin</allow_any>
  174.       <allow_inactive>auth_admin</allow_inactive>
  175.       <allow_active>auth_admin_keep</allow_active>
  176.     </defaults>
  177.   </action>
  178.  
  179.   <action id="org.freedesktop.udisks2.open-device-system">
  180.     <description>Open a system device</description>
  181.     <message>Authentication is required to open a device</message>
  182.     <defaults>
  183.       <allow_any>auth_admin</allow_any>
  184.       <allow_inactive>auth_admin</allow_inactive>
  185.       <allow_active>auth_admin_keep</allow_active>
  186.     </defaults>
  187.   </action>
  188.  
  189.  
  190.   <action id="org.freedesktop.udisks2.modify-system-configuration">
  191.     <description>Modify system-wide configuration</description>
  192.     <message>Authentication is required to modify system-wide configuration</message>
  193.     <defaults>
  194.       <allow_any>auth_admin</allow_any>
  195.       <allow_inactive>auth_admin</allow_inactive>
  196.       <allow_active>auth_admin</allow_active>
  197.     </defaults>
  198.   </action>
  199.  
  200.  
  201.   <action id="org.freedesktop.udisks2.read-system-configuration-secrets">
  202.     <description>Modify system-wide configuration</description>
  203.     <message>Authentication is required to retrieve secrets from system-wide configuration</message>
  204.     <defaults>
  205.       <allow_any>auth_admin</allow_any>
  206.       <allow_inactive>auth_admin</allow_inactive>
  207.       <allow_active>auth_admin</allow_active>
  208.     </defaults>
  209.   </action>
  210.  
  211.  
  212.   <action id="org.freedesktop.udisks2.ata-smart-update">
  213.     <description>Update SMART data</description>
  214.     <message>Authentication is required to update SMART data</message>
  215.     <defaults>
  216.       <allow_any>auth_admin</allow_any>
  217.       <allow_inactive>auth_admin</allow_inactive>
  218.       <allow_active>yes</allow_active>
  219.     </defaults>
  220.   </action>
  221.  
  222.  
  223.   <action id="org.freedesktop.udisks2.ata-smart-selftest">
  224.     <description>Run SMART self-test</description>
  225.     <message>Authentication is required to run a SMART self-test</message>
  226.     <defaults>
  227.       <allow_any>auth_admin</allow_any>
  228.       <allow_inactive>auth_admin</allow_inactive>
  229.       <allow_active>auth_admin_keep</allow_active>
  230.     </defaults>
  231.   </action>
  232.  
  233. </policyconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement