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 1D2A7138CBE for ; Sat, 21 Mar 2015 19:47:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88D86E0957; Sat, 21 Mar 2015 19:47:18 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (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 73DA0E0932 for ; Sat, 21 Mar 2015 19:47:17 +0000 (UTC) Received: by iedm5 with SMTP id m5so11631170ied.3 for ; Sat, 21 Mar 2015 12:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=oQOQwd5WVWPUoEJbzl4pjIlgIIyzKLva0WOHUnGaKDg=; b=PcyooKxW9IuBXbxBzWQxPuPNgE0HcuV+RBYWi9luQ9iFHVOVLLC4cii1Uyk2Wd0k5q 3mfohrETKMsQIBzwdk3JT/f+eSyOeuL8j4Lds356N2DV+iHP8oP5OCaHy+bIYokbiBEe Pf6xXARtlwGGxfrQy8zNvnPmWjdLYQCzZaHm5JjcX+O70K7HKMMMPXImNQyDwZH9Dkqi PLvIATwT1tfegm+8MFUkkEMy8cFC1fJjuX2vcaqhI6c2JdH1QQsbjcJbbNJj+og0CzSP 7P3ZbXYGaXG+amR2gd4w+jN8iMxdQdr03uCHhZ7hiwhdhST5KAHFpwuEOL6qhpYadpb+ /4dg== 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.50.254.4 with SMTP id ae4mr4848058igd.10.1426967236800; Sat, 21 Mar 2015 12:47:16 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.107.135.78 with HTTP; Sat, 21 Mar 2015 12:47:16 -0700 (PDT) In-Reply-To: <20150321153934.01966ae8bd27daf7bcc47000@gmail.com> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <20150321153934.01966ae8bd27daf7bcc47000@gmail.com> Date: Sat, 21 Mar 2015 15:47:16 -0400 X-Google-Sender-Auth: mRtdLZREXi_bYRUi-J4fnXXm07U Message-ID: Subject: Re: [gentoo-user] How to poweroff the system from user? From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e6a83093-c527-4291-a3de-23aeaf17d907 X-Archives-Hash: 783660ae8b97ed340f1612e8e2c0de7e On Sat, Mar 21, 2015 at 3:39 PM, German wrote: > > No, I am trying to shutdown from a console Well, the old answer would be that you need to use sudo to run it, as shutting down is a privileged operation. I suspect that the new answer is that with appropriate policykit/consolekit/etc settings you can probably allow somebody sitting at a physical console to shut down the system, or any logged-in user if you prefer. However, I haven't actually set that up myself. -- Rich