lumina-desktop / lumina

Lumina Desktop Environment
http://lumina-desktop.org
BSD 3-Clause "New" or "Revised" License
531 stars 116 forks source link

Power Off not working #559

Closed acooper306 closed 6 years ago

acooper306 commented 6 years ago

when I select "leave" from the menu, and then select "power off", all it does it log me out. It doesn't power off the machine.

I'm using a dell latitude e7250

beanpole135 commented 6 years ago

Please check whether the setuid bit is available on the /sbin/shutdown binary, and if so what permissions are available: ls -l /sbin/shutdown

What you should see is something like this:

[kenmoore@WorkWraith] ~% ls -l /sbin/shutdown 
-r-sr-xr--  2 root  operator  23096 Mar 23 09:54 /sbin/shutdown

That allows users in the "operator" group to be able to shutdown the system. There was a bug with FreeBSD about a month ago where that setuid bit was getting removed from the shutdown binary, but if you have done an update recently that should already be fixed.

acooper306 commented 6 years ago

Here is what I got, it looks about the same as what you had, except for the date.

[cooper@trueos-7250] ~% ls -l /sbin/shutdown -r-sr-xr-- 2 root operator 23096 Mar 25 17:51 /sbin/shutdown

It is still just logging me out and taking back to the graphical login screen.

On Thu, Mar 29, 2018 at 5:45 AM, Ken Moore notifications@github.com wrote:

Please check whether the setuid bit is available on the /sbin/shutdown binary, and if so what permissions are available: ls -l /sbin/shutdown

What you should see is something like this:

[kenmoore@WorkWraith] ~% ls -l /sbin/shutdown -r-sr-xr-- 2 root operator 23096 Mar 23 09:54 /sbin/shutdown

That allows users in the "operator" group to be able to shutdown the system. There was a bug with FreeBSD about a month ago where that setuid bit was getting removed from the shutdown binary, but if you have done an update recently that should already be fixed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trueos/lumina/issues/559#issuecomment-377223711, or mute the thread https://github.com/notifications/unsubscribe-auth/AHE9R70_Duh1WFj58xcy1qAYYaL_6ShKks5tjNeDgaJpZM4S9_wL .