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 |
You don't need those. It sounds like you somehow got both sysvinit and systemd |
17 |
installed. The message you're getting is from sysvinit. poweroff should be a |
18 |
symlink to systemctl. Try: |
19 |
|
20 |
systemctl poweroff |
21 |
|
22 |
You may need to unmerge sysvinit and anything else related to openrc and then |
23 |
re-emerge systemd. With systemd it should either shutdown or ask you for the |
24 |
root password (if you're not logged in locally or there's other users logged |
25 |
in). |
26 |
|
27 |
-- |
28 |
Fernando Rodriguez |