My /usr/local/etc/PolicyKit/PolicyKit.conf
My /etc/group
My /etc/rc.conf
But Logout gives me only logout. Not Restart or shutdown. I forgot something?
Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<define_admin_auth group="operator" />
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.mount-fixed">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.eject">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.unmount-others">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.power-management.hibernate">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.power-management.suspend">
<return result="yes" />
</match>
</config>
My /etc/group
Code:
wheel:*:0:root,ember
operator:*:5:root,ember
My /etc/rc.conf
Code:
polkitd_enable="YES"
hald_enable="YES"
dbus_enable="YES"
Code:
[file][B]uname -a[/B][/file]
FreeBSD BSD|ZFS 9.0-RC3 FreeBSD 9.0-RC3 #1: Tue Dec 13 16:03:41 EET 2011 root@BSD|ZFS:/usr/obj/usr/src/sys/MYKERNEL amd64