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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] How to poweroff the system from user? Matti Nykyri <matti.nykyri@×××.fi>