> On Mar 22, 2015, at 9:11, Alexander Kapshuk <alexander.kaps...@gmail.com> > wrote: > >> On Sun, Mar 22, 2015 at 9:06 AM, German <gentger...@gmail.com> wrote: >> On Sun, 22 Mar 2015 08:49:54 +0200 >> Matti Nykyri <matti.nyk...@iki.fi> wrote: >> >> > > On Mar 22, 2015, at 8:32, German <gentger...@gmail.com> wrote: >> > > >> > > >> > > /sbin/poweroff says "Must be a superuser" :( >> > >> > Did you read any of the previous messages? They told you that you have to >> > have consolekit and polkit installed and configured for this to work! >> >> Yes, I've read them. However no one explianed how this has to be >> accomplished with polkit and consolekit.
Read http://wiki.gentoo.org/wiki/Polkit and all the links and prerequisites (consolekit and dbus) and polkit man page. >> Also the use of sudo is another choice. >> >> Sudo is just a package? > > Yes, it is. > qsearch sudo|sed 1q > app-admin/sudo Allows users or groups to run commands as other users > >> > >> > If you want every user to be able to shutdown just run this command: >> > >> > chmod 6755 /sbin/poweroff -- -Matti