Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to poweroff the system from user?
Date: Sun, 22 Mar 2015 07:56:38
Message-Id: 2010633.Dg5FF3Wpcg@navi
In Reply to: Re: [gentoo-user] How to poweroff the system from user? by Matti Nykyri
1 On Sunday, March 22, 2015 9:35:46 AM Matti Nykyri wrote:
2 > > On Mar 22, 2015, at 9:31, Fernando Rodriguez
3 <frodriguez.developer@×××××××.com> wrote:
4 > >
5 > >> On Sunday, March 22, 2015 3:06:59 AM German wrote:
6 > >> On Sun, 22 Mar 2015 08:49:54 +0200
7 > >> Matti Nykyri <matti.nykyri@×××.fi> wrote:
8 > >>
9 > >>>> On Mar 22, 2015, at 8:32, German <gentgerman@×××××.com> wrote:
10 > >>>>
11 > >>>>
12 > >>>> /sbin/poweroff says "Must be a superuser" :(
13 > >>>
14 > >>> Did you read any of the previous messages? They told you that you have
15 to
16 > > have consolekit and polkit installed and configured for this to work!
17 > >>
18 > >> Yes, I've read them. However no one explianed how this has to be
19 > > accomplished with polkit and consolekit.
20 > >
21 > > Actually systemd's poweroff should be on /usr/bin or /bin but if you got it
22 > > there you shouldn't have got the command not found error so something is
23 > > messed up with your system. Post the output to the folling
24 > >
25 > > ls -l /usr/bin/poweroff
26 > > ls -l /bin/poweroff
27 > > ls -l /sbin/poweroff
28 > > ls -l /usr/sbin/poweroff
29 > >
30 > > Only one of them should list something and it should be a symlink to
31 > > systemctl.
32 >
33 > From previous messages by the OP I recall that he is using OpenRC.
34
35 Yea, I'm fucking up. I read the systemd before this one and got them mixed
36 up...sorry
37
38 --
39 Fernando Rodriguez