From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-163054-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EDD94138CBE for <garchives@archives.gentoo.org>; Sat, 21 Mar 2015 20:01:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 636FDE0977; Sat, 21 Mar 2015 20:01:46 +0000 (UTC) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (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 EC7EBE0965 for <gentoo-user@lists.gentoo.org>; Sat, 21 Mar 2015 20:01:44 +0000 (UTC) Received: by lagg8 with SMTP id g8so109012014lag.1 for <gentoo-user@lists.gentoo.org>; Sat, 21 Mar 2015 13:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=Jq0aP+aps7HT+wgqQHlvSXZF8CK4aykwnPN8kjsykg0=; b=FCmFnKRbKnIkRmCtwN/6Ibbl9FldzUjDVMAdwl/SiQvvo8Ech89C0fFi/YLbp7zBRY XjD4VJuWmtr6dPfG7+WTEcVaQU7GT7zASl/XoCjI7Y7XJYncCtqcW8VbrEwDj7qmMwIT z7rwaqQIY1gF70p8teHO+Hvk+D/DBAj7SJ1PTLSml9wv8XYhJ3ef/lBrNJyLqM7o70As 9hULum1wLLvVazi1mDFzIqUuqFEuc+8TzqrhJCBSO2Std70FpFXT/nVGwfB4Imnys3MU x8SZbb9Iwq4PpW7x4EhwI1Swk3bwKQLSZn4xO+4FmLbUL6xYmuUyvjov1BiFGz+Ozm/3 hi5w== X-Received: by 10.112.175.7 with SMTP id bw7mr77794353lbc.15.1426968103698; Sat, 21 Mar 2015 13:01:43 -0700 (PDT) Received: from digger (95-55-1-236.dynamic.avangarddsl.ru. [95.55.1.236]) by mx.google.com with ESMTPSA id n15sm1659248laa.36.2015.03.21.13.01.42 for <gentoo-user@lists.gentoo.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2015 13:01:42 -0700 (PDT) Date: Sat, 21 Mar 2015 16:01:40 -0400 From: German <gentgerman@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to poweroff the system from user? Message-Id: <20150321160140.619aeab5cca1e9a0435ae22c@gmail.com> In-Reply-To: <CAGfcS_=CJypwK3zber8TcXXkGbPrjSAWkfcpMwbExMjEW8gwuQ@mail.gmail.com> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <CAJ1xhMUZZLJaubesvW+FW-kf5Fn60ez9X9Sh7vhe3wpt=PY1pw@mail.gmail.com> <20150321153934.01966ae8bd27daf7bcc47000@gmail.com> <CAGfcS_=CJypwK3zber8TcXXkGbPrjSAWkfcpMwbExMjEW8gwuQ@mail.gmail.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 263bf7ab-03ba-4cf1-99f6-96c7aa418106 X-Archives-Hash: 32a3dabb3e57c6c6ea0afa54c1523eef On Sat, 21 Mar 2015 15:47:16 -0400 Rich Freeman <rich0@gentoo.org> wrote: > On Sat, Mar 21, 2015 at 3:39 PM, German <gentgerman@gmail.com> 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. Well, I am the only one sitting at the console :) Are there any key combination which allows that? I can reboot even if I am a user with Ctrl+Alt+Delete > > -- > Rich > -- German <gentgerman@gmail.com>