Gentoo Archives: gentoo-user

From: Matti Nykyri <matti.nykyri@×××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How to poweroff the system from user?
Date: Sun, 22 Mar 2015 06:50:21
Message-Id: F1FE653E-9CD5-44C1-B303-ECCAFC42BB50@iki.fi
In Reply to: Re: [gentoo-user] How to poweroff the system from user? by German
1 > On Mar 22, 2015, at 8:32, German <gentgerman@×××××.com> wrote:
2 >
3 >
4 > /sbin/poweroff says "Must be a superuser" :(
5
6 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! Also the use of sudo is another choice.
7
8 If you want every user to be able to shutdown just run this command:
9
10 chmod 6755 /sbin/poweroff
11
12 --
13 -Matti

Replies

Subject Author
Re: [gentoo-user] How to poweroff the system from user? German <gentgerman@×××××.com>