|
|

楼主 |
发表于 2009-2-9 23:41:47
|
显示全部楼层
Post by jarryson;1945697
在/etc/PolicyKit/PolicyKit.conf里面添加如下内容:
- <define_admin_auth group="wheel"/>
- <match user="root">
- <return result="yes"/>
- </match>
复制代码
你自己得在wheel组里面。试试看。如果不行就再添加:
- <match action="org.freedesktop.hal.power-management.suspend">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.power-management.hibernate">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.power-management.shutdown">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.power-management.reboot">
- <return result="yes"/>
- </match>
- <match action="org.freedesktop.hal.power-management.lcd-panel">
- <return result="yes"/>
- </match>
- <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>
复制代码
我现在把hal降回去了,还需要这样么?
而且我以前不在wheel组里面,但是也没有问题阿,就是现在出现的问题…… |
|