Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] shutdown for non-root users?
Date: Mon, 10 Mar 2014 20:16:32
Message-Id: 531E1D51.50300@gmail.com
1 Hi,
2 how can I allow other (not-root) users to shut down system?
3
4 I tried to add them to /etc/shutdown.allow but it works only
5 for "Ctrl-Alt-Del". When they try shutdown per command line
6 (/sbin/shutdown -a -h now) they still get:
7
8 shutdown: you must be root to do that!
9 Usage: ...
10
11 Is there any way to achieve this without installing sudo?
12
13 Jarry
14 --
15 _______________________________________________________________
16 This mailbox accepts e-mails only from selected mailing-lists!
17 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] shutdown for non-root users? Nikita Tropin <posixivist32@×××××.com>
Re: [gentoo-user] shutdown for non-root users? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] shutdown for non-root users? Walter Dnes <waltdnes@××××××××.org>
[gentoo-user] Re: shutdown for non-root users? James <wireless@×××××××××××.com>