Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How to poweroff the system from user?
Date: Thu, 26 Mar 2015 15:36:14
Message-Id: CAOdo=SzFYpicQiUWGgQu-abn9Sx_GDuWr0+VpSs36C07Hpg9yA@mail.gmail.com
In Reply to: Re: [gentoo-user] How to poweroff the system from user? by microcai
1 On Wed, Mar 25, 2015 at 8:53 PM, microcai <microcai@×××××××××××××.org> wrote:
2 > on Sunday 22 March 2015 02:32:00,German wrote:
3 >>
4 >> /sbin/poweroff says "Must be a superuser" :(
5 >
6 > then it's high time for you to trash away sysvint and openrc, and try
7 > systemd!!!
8
9 I doubt that Fedora developers and users would be happy to know that
10 you're trolling with a Fedora email address.
11
12 Anyway, logind+polkit are the reason that systemd allows a user at the
13 console to shutdown a system. Run "pkaction --verbose --action-id
14 org.freedesktop.login1.power-off" to see why.
15
16 The same can be set up with consolekit+polkit when booting with sysv+openrc.