1 |
> On Mar 22, 2015, at 9:11, Alexander Kapshuk <alexander.kapshuk@×××××.com> wrote: |
2 |
> |
3 |
>> On Sun, Mar 22, 2015 at 9:06 AM, German <gentgerman@×××××.com> wrote: |
4 |
>> On Sun, 22 Mar 2015 08:49:54 +0200 |
5 |
>> Matti Nykyri <matti.nykyri@×××.fi> wrote: |
6 |
>> |
7 |
>> > > On Mar 22, 2015, at 8:32, German <gentgerman@×××××.com> wrote: |
8 |
>> > > |
9 |
>> > > |
10 |
>> > > /sbin/poweroff says "Must be a superuser" :( |
11 |
>> > |
12 |
>> > 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! |
13 |
>> |
14 |
>> Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit. |
15 |
|
16 |
Read http://wiki.gentoo.org/wiki/Polkit and all the links and prerequisites (consolekit and dbus) and polkit man page. |
17 |
|
18 |
>> Also the use of sudo is another choice. |
19 |
>> |
20 |
>> Sudo is just a package? |
21 |
> |
22 |
> Yes, it is. |
23 |
> qsearch sudo|sed 1q |
24 |
> app-admin/sudo Allows users or groups to run commands as other users |
25 |
> |
26 |
>> > |
27 |
>> > If you want every user to be able to shutdown just run this command: |
28 |
>> > |
29 |
>> > chmod 6755 /sbin/poweroff |
30 |
|
31 |
-- |
32 |
-Matti |