I have allowed users of the "halt" group to halt the system. I did this by changing /sbin/halt and /sbin/shutdown to the halt group, setting is SUID root, removing the executable bit from "others", and then adding my user to the "halt" group. In short: groupadd [some options] halt useradd [some options to add user to "halt" group] myuser cd /sbin chgrp halt halt shutdown chmod o-x halt shutdown chmod g+x halt shutdown chmod u+s halt shutdown I can shut down from the GDM system menu. However, if I try to shut down from within Gnome, using the logout menu, gnome-session or gdm will not kill the X. I will shut down the computer, but I do not see verbose messages. My mouse continues to work until my system shuts down. I am running gnome-session 2.8.0 and gdm 2.6.0.4-r1. I am nut currently on Gentoo, so I can't provide my emerge info. However, gnome-session is compiled with "-debug +ipv6" and gdm with "-debug -selinux +tcpd -xinerama". My CFLAGS are "-Os -march=pentium3 -fomit-frame-pointer -pipe". I have ACCEPT_KEYWORDS="~x86". Reproducible: Always Steps to Reproduce: 1. Set halt permissions as show above. 2. Try to shutdown or reboot from within Gnome. Actual Results: Shut down or reboot computer, but does not show verbose messages, and most likely does not kill X or gdm. Expected Results: Kill gdm, X, and show verbose messages.
I'm not sure what you want us to do here ? obviously this is an area you are on your own, we do not support is as such. If you find a solution please do share, but given our current workload with the stuff we do support this is a no-go for the devs.