Solved Shutdown the computer

Hello,
I am configuring my new FreeBSD 10.1 system to use it as a workstation. I use OpenBOX. All work very well except one thing: I cannot shutdown the computer without root access so I cannot shutdown the system by OpenBOX. I searched on Google and I found this :
Code:
<match action="org.freedesktop.hal.power-management.shutdown">
    <return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
    <return result="yes"/>
</match>
I added it on /usr/local/etc/PolicyKit/PolicyKit.conf but that didn't work.
Thanks a lot for yours answers.
 
Back
Top