From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-163059-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 198E0138CBE
	for <garchives@archives.gentoo.org>; Sat, 21 Mar 2015 20:58:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2818EE091D;
	Sat, 21 Mar 2015 20:58:49 +0000 (UTC)
Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53])
	(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 DE426E08FB
	for <gentoo-user@lists.gentoo.org>; Sat, 21 Mar 2015 20:58:47 +0000 (UTC)
Received: by labe2 with SMTP id e2so34022329lab.3
        for <gentoo-user@lists.gentoo.org>; Sat, 21 Mar 2015 13:58:46 -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=qaiBJ7CYFg+nsRkhDCmA4c0NqL/1sTQvL8YOwPOffDo=;
        b=ibXGJYX8CUoECWlFh1xlB5/2LWnLnua2GzgeZUUslJMc0kV+2y+8WaHEjw5Fs9KP2c
         or4FbfV60T41XUGbaKagnQAhTqgj404LsQa0RR5vkW6t7Jcy5xoguRTO0oPW1lRzM9uE
         8KkMo0mr3Minv2V7+vjPF1ihviH0upRbMMeniS0VVHrVWiKdA8xjl3MSpJv6i9JHA1ue
         WhhE/2MQuN05VC9HudD6fGZ/ieCGhAdx/fnTMCcBsqwYgpDnNJBoHGT42HWvDprgTqEv
         D6WzivmxSgD4Gv04BhkM6/JcdFHyzotAqUJeFJFTVS4LoGBnyUvr14COXNcd5fwI8M7D
         K1FA==
X-Received: by 10.112.239.1 with SMTP id vo1mr77827656lbc.110.1426971526514;
        Sat, 21 Mar 2015 13:58:46 -0700 (PDT)
Received: from digger (95-55-1-236.dynamic.avangarddsl.ru. [95.55.1.236])
        by mx.google.com with ESMTPSA id h10sm889568laa.41.2015.03.21.13.58.45
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 21 Mar 2015 13:58:45 -0700 (PDT)
Date: Sat, 21 Mar 2015 16:58:42 -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: <20150321165842.b6c4a9ca7aa6d9e28b8f9d91@gmail.com>
In-Reply-To: <20150321203225.GF1082@ca.inter.net>
References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com>
	<20150321203225.GF1082@ca.inter.net>
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: 5e9e0506-e52b-40fd-973a-0a40c35ac1ab
X-Archives-Hash: acc04ae81685a4d752163f8a8e544a7f

On Sat, 21 Mar 2015 16:32:25 -0400
Philip Webb <purslow@ca.inter.net> wrote:

> 150321 German wrote:
> > If I run poweroff from root, the system shuts down.
> > When I run poweroff from user -- command not found.
> > How to shut down the system from user ?
> 
> I'ld say "Don't" : it's contrary to the principles of Unix,
> which separate the roles of sysadmin (root) from those of ordinary users.
> 
> To shut down, I first exit Fluxbox via its menu,
> then 'su' + root password, then alias 'down' = 'shutdown -h now'.
> That observes the proper roles + ceremonies (smile).

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 shut down? Strange
> 
> -- 
> ========================,,============================================
> SUPPORT     ___________//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca
> 
> 


-- 
German <gentgerman@gmail.com>