You are not logged in.
Does anyone know how to accomplish this in Arch? I've searched the gnome forums and mail lists and have found many answers to this problem. The only bad thing is that none of them seem to work. So, I'm asking the arch community.
Does anyone know how to get shutdown and reboot to show up for non-root users when logging out of gnome on Arch?
Thanks!
Offline
You have to do: "chmod +s /sbin/halt" and "chmod +s /sbin/reboot" but I dont know if that's enough....
I think the correct answer should be in the wiki (so if anyone knows the full answer here is my sugestion)
Offline
I have tried that because it was posted in the gnome mail archive a few times, but it doesn't work on arch. Has anyone in the arch community gotten this to work?
Offline
I think this will do it:
touch /var/run/console/<username>
Offline
groupadd shutdown
gpasswd -a <user> shutdown
chgrp shutdown /sbin/halt
chmod 4750 /sbin/halt
mkdir /var/lock/console
touch /var/lock/console/<user>
chattr +i /var/lock/console/<user>
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
You are awesome! Thanks for the help.
Offline
I strongly agree that this needs to go in the wiki. has someone already done that?
Offline
Edit: Got it working... too embarrased to say what I was doing wrong
Offline