[xubuntu-users] Unable to cleanly shutdown, auth_admin <-- (action, result) ?

dave selby dave6502 at googlemail.com
Sat Jun 20 11:09:56 UTC 2009

Slightly refined script + my policy kit notes in case anyone is interested

Lets less priveledged processes communicate with more privileged processes,
its a cool sudo's replacement !
Problem is xubuntu forgot to add a couple of important rules.

polkit-action ... lists all possible policy kit actions
polkit-auth ...   prints policy kit authentications
polkit-config-file-validate ... validates /etc/PolicyKit/PolicyKit.conf

man PolicyKit.conf
sudo vi /etc/PolicyKit/PolicyKit.conf

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">
    <match user="root">
        <return result="yes"/>
    <define_admin_auth group="admin"/>

        <return result="yes"/>

        <return result="yes"/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20090620/c03ce1be/attachment.html>

More information about the xubuntu-users mailing list