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 C69A0138CC5 for ; Sun, 22 Mar 2015 10:30:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8548E08D0; Sun, 22 Mar 2015 10:30:43 +0000 (UTC) Received: from smarthost01a.mail.zen.net.uk (smarthost01a.mail.zen.net.uk [212.23.1.1]) by pigeon.gentoo.org (Postfix) with ESMTP id C3659E08BB for ; Sun, 22 Mar 2015 10:30:42 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01a.mail.zen.net.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YZd9W-000BLc-3K for gentoo-user@lists.gentoo.org; Sun, 22 Mar 2015 10:30:42 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to poweroff the system from user? Date: Sun, 22 Mar 2015 10:30:41 +0000 Message-ID: <2098241.ygyfAjpUPx@wstn> Organization: Society for Retired Gentlefolk User-Agent: KMail/4.14.3 (Linux/3.18.7-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <20150321165842.b6c4a9ca7aa6d9e28b8f9d91@gmail.com> 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Originating-smarthost01a-IP: [82.69.80.10] X-Archives-Salt: bc88988c-4eb0-4fa2-a993-8d1d86ea9c5f X-Archives-Hash: 175237f400c29d3f736cbd7c913a4d69 On Saturday 21 March 2015 16:20:17 Jc Garc=EDa wrote: > > Interesting. But as I said ealier, I can reboot the system when I a= m a > > user by Ctrl+Alt+Delete. The user can reboot the system, but can't = shut > > 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 str= ange. Consider: I'm an ordinary user sitting at a terminal. I'm not allowed t= o=20 halt the machine, but I am allowed to reboot it into perhaps some quite= =20 other configuration. Or I can keep rebooting it over and again, effecti= vely=20 preventing the machine from doing its job. How does that make sense? --=20 Rgds Peter.