From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 02328138CC5 for ; Sun, 22 Mar 2015 20:36:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84F08E08CD; Sun, 22 Mar 2015 20:36:39 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DD10E089B for ; Sun, 22 Mar 2015 20:36:37 +0000 (UTC) Received: by wibg7 with SMTP id g7so23582507wib.1 for ; Sun, 22 Mar 2015 13:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Zk5+NQfYwQnUAuL2wgQ7MhnNTdB0RmpK5+FxdcLruuw=; b=nBPTpoM+g5hPnOHvnLxNfbYAIn++cflFufriHgXzxhlSUVKUXrsQQ8w4FIzcN47HWe TGo+/ypoArODBKRpSpdj4DCIPQAg+e5k6fBlIOHekgtozgLlxY80R7zGAuLVcn+fuXkv gb+C9lejY4QOjRA1OQuSV4FuRyHtvYqUdpW4vrDLZD0Q/XYUlibG7ha8plT4ecb7lhjp j54PWV+NHpP+u5JocIFGXjNk41J0pqZf/7uFsPaViOrTY7SdQXwWN9G/u77yvdqly421 bzuSuYkdWz/l9/u1NskmaxhsCvMRy7jqVRru8Wnvz/fhd4+0LQ/euNfWr1wvhwayp/9Z o1Tw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.194.95.4 with SMTP id dg4mr137859342wjb.81.1427056596276; Sun, 22 Mar 2015 13:36:36 -0700 (PDT) Received: by 10.28.2.4 with HTTP; Sun, 22 Mar 2015 13:36:36 -0700 (PDT) In-Reply-To: <2098241.ygyfAjpUPx@wstn> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <20150321165842.b6c4a9ca7aa6d9e28b8f9d91@gmail.com> <2098241.ygyfAjpUPx@wstn> Date: Sun, 22 Mar 2015 14:36:36 -0600 Message-ID: Subject: Re: [gentoo-user] How to poweroff the system from user? From: =?UTF-8?Q?Jc_Garc=C3=ADa?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f9d117de-65c5-476e-bf61-5530b2cbc1d2 X-Archives-Hash: b3a2b2b3f37044d92b45acf9dd8a18a9 2015-03-22 4:30 GMT-06:00 Peter Humphrey : > On Saturday 21 March 2015 16:20:17 Jc Garc=C3=ADa wrote: >> > Interesting. But as I said ealier, I can reboot the system when I am a >> > user by Ctrl+Alt+Delete. The user can reboot the system, but can't shu= t >> > down? Strange >> It's not strange, `man 2 reboot`. It's a defined behavior. > > I'm with German here. Being designed that way doesn't stop it being stran= ge. > I see it as a last resource available for rebooting under any circumstances( Similar to what you can do with Sysrq). > Consider: I'm an ordinary user sitting at a terminal. I'm not allowed to > halt the machine, but I am allowed to reboot it into perhaps some quite > other configuration. Or I can keep rebooting it over and again, effective= ly > preventing the machine from doing its job. How does that make sense? > It doesn't and that's why it's configurable, if you are in a high security requiring environment, you disable it.