Gentoo Archives: gentoo-user

From: German <gentgerman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to poweroff the system from user?
Date: Sun, 22 Mar 2015 07:07:11
Message-Id: 20150322030659.ec90006302b19a7fe9775e1e@gmail.com
In Reply to: Re: [gentoo-user] How to poweroff the system from user? by Matti Nykyri
1 On Sun, 22 Mar 2015 08:49:54 +0200
2 Matti Nykyri <matti.nykyri@×××.fi> wrote:
3
4 > > On Mar 22, 2015, at 8:32, German <gentgerman@×××××.com> wrote:
5 > >
6 > >
7 > > /sbin/poweroff says "Must be a superuser" :(
8 >
9 > 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!
10
11 Yes, I've read them. However no one explianed how this has to be accomplished with polkit and consolekit.
12
13 Also the use of sudo is another choice.
14
15 Sudo is just a package?
16 >
17 > If you want every user to be able to shutdown just run this command:
18 >
19 > chmod 6755 /sbin/poweroff
20 >
21 > --
22 > -Matti
23
24
25 --

Replies

Subject Author
Re: [gentoo-user] How to poweroff the system from user? Alexander Kapshuk <alexander.kapshuk@×××××.com>
Re: [gentoo-user] How to poweroff the system from user? Fernando Rodriguez <frodriguez.developer@×××××××.com>
Re: [gentoo-user] How to poweroff the system from user? Fernando Rodriguez <frodriguez.developer@×××××××.com>