![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
My prior post is the old forum fell victim to bad timing when I posted during the great migration.
FreeBSD 7 stable running Xfce. It appears that user shutdown and reboot have been moved from sudo to PolicyKit. The documentation on this is a little sparse (man PolicyKit states it remains to be written) at this time. I think I have the general idea but am failing with the syntax. Could someone post their PolicyKit.conf code that enable user shutdown/reboot? Thanks in advance |
|
|||
|
At the risk of being accused of bumping my thread here is my PolicyKit.conf.
Note that automount for removable drives functions: Code:
<config version="0.1">
<match action="org.freedesktop.hal.power-management.shutdown">
<match usr="jsh">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<match user="jsh">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="jsh">
<return result="yes"/>
</match>
</match>
<match user="root">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>
</config>
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Lightest XFCE - Making XFCE lighter and faster | vermaden | Guides | 27 | 2nd September 2010 12:24 PM |
| shutdown message | Mr-Biscuit | FreeBSD General | 1 | 16th November 2008 10:59 PM |
| strange behaviour after improper shutdown | karri | FreeBSD General | 1 | 15th October 2008 03:08 PM |
| Awant Window Navigator for Xfce under FreeBSD? | daemonFromHeaven | FreeBSD Ports and Packages | 11 | 13th September 2008 10:13 AM |
| Shutdown problems | radtek | FreeBSD General | 11 | 13th September 2008 12:42 AM |