*
Change the section relating to shutdown when others are logged in
from
Edit the file
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
using your favorite text editor. You will need root permission
Defaults settings
<action id="org.freedesktop.consolekit.system.stop-multiple-users"><description>Stop the system when multiple users are logged in</description><message>System policy prevents stopping the system when other users are logged in</message><defaults><allow_inactive>no</allow_inactive><allow_active>auth_admin_keep</allow_active></defaults></action>
To change
<action id="org.freedesktop.consolekit.system.stop-multiple-users"><description>Stop the system when multiple users are logged in</description><message>System policy prevents stopping the system when other users are logged in</message><defaults><allow_inactive>no</allow_inactive><allow_active>yes</allow_active></defaults></action>
* And the section relating to rebooting when others are logged in
from From
<action id="org.freedesktop.consolekit.system.restart-multiple-users"><description>Restart the system when multiple users are logged in</description><message>System policy prevents restarting the system when other users are logged in</message><defaults><allow_inactive>no</allow_inactive><allow_active>auth_admin_keep</allow_active></defaults></action>
To
<action id="org.freedesktop.consolekit.system.restart-multiple-users"><description>Restart the system when multiple users are logged in</description><message>System policy prevents restarting the system when other users are logged in</message><defaults><allow_inactive>no</allow_inactive><allow_active>yes</allow_active></defaults></action>
No comments:
Post a Comment