basically the title says it all =/
Why is the root password needed to shutdown sometimes? and how do I disable it if it's a feature rather then a bug
Root password required to shutdown?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Root password required to shutdown?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Root password required to shutdown?
http://forums.linuxmint.com/viewtopic.php?f=141&t=58728
ALT+f2 --> gksu gedit /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
last section:
<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>
change no to yes
if you want remove password asking when you want shutdown the system then change no to yes in this section:
<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>
i think there's a bug , when using sudo/su/gksu , not sure witch of those , or when using all, root user is "inactive" , and polkit ask for password because two users are logged in..
ALT+f2 --> gksu gedit /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
last section:
<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>
change no to yes
if you want remove password asking when you want shutdown the system then change no to yes in this section:
<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>
i think there's a bug , when using sudo/su/gksu , not sure witch of those , or when using all, root user is "inactive" , and polkit ask for password because two users are logged in..
Re: Root password required to shutdown?
Thanks sumski think that fixed it =]
Re: Root password required to shutdown?
Had this problem.
Did the fix; and checked that fix was properly applied (and saved)
Started Update Manager and did updates
Attempted to shutdown..alas still have the problem.
Rechecked that fix was still in effect (after the updates)...was
What to do?
Regards,
Bob
Edit...Damned policyKit...I wonder if PolicyKit was written by the same guy as PackageKit??
B
Did the fix; and checked that fix was properly applied (and saved)
Started Update Manager and did updates
Attempted to shutdown..alas still have the problem.
Rechecked that fix was still in effect (after the updates)...was
What to do?
Regards,
Bob
Edit...Damned policyKit...I wonder if PolicyKit was written by the same guy as PackageKit??
B
Re: Root password required to shutdown?
can't reproduce.
i had the same trouble a while back; i'm now using polkit-1 from experimental with both "allow inactive" values set to no , and it doesn't asks for password...
did you restart? or at least killed X server? try changing both "allow inactive" and "allow active" to yes (make a backup before that )
i had the same trouble a while back; i'm now using polkit-1 from experimental with both "allow inactive" values set to no , and it doesn't asks for password...
did you restart? or at least killed X server? try changing both "allow inactive" and "allow active" to yes (make a backup before that )
Last edited by sumski on Sat Nov 27, 2010 3:10 pm, edited 1 time in total.
Re: Root password required to shutdown?
my bad
try changing both allow_auth_admin to yes , and leave the "no" value as it is
if that isn't working try both values as yes
try changing both allow_auth_admin to yes , and leave the "no" value as it is
if that isn't working try both values as yes
Re: Root password required to shutdown?
Yes, I rebooted; serveral times, in fact. No joy. Thanks for your other suggestions, but I think I will not twiddle with those, as I do not understand the ramifications. Not a big deal, and I will await it's subsequent fix later.
Regards,
Bob
Regards,
Bob