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 734A0138CBE for ; Sat, 21 Mar 2015 22:39:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D69AE0935; Sat, 21 Mar 2015 22:39:07 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EE45E0921 for ; Sat, 21 Mar 2015 22:39:06 +0000 (UTC) Received: from [142.196.200.180] ([142.196.200.180:35253] helo=navi.localnet) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id C0/01-28315-903FD055; Sat, 21 Mar 2015 22:39:05 +0000 From: Fernando Rodriguez To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to poweroff the system from user? Date: Sat, 21 Mar 2015 18:38:38 -0400 Message-ID: <6052029.bPKb1UvxrT@navi> User-Agent: KMail/4.14.3 (Linux/3.19.1; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: <20150321152656.a82a84b3e8a32c8b68554548@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="utf-8" X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-Archives-Salt: ed238eb1-e204-46e4-9f01-dd21280e89a1 X-Archives-Hash: 65f66502208ed94d961f160ea1903d85 On Saturday, March 21, 2015 9:35:44 PM Alexander Kapshuk wrote: > On Sat, Mar 21, 2015 at 9:34 PM, Alexander Kapshuk < > alexander.kapshuk@gmail.com> wrote: >=20 > > On Sat, Mar 21, 2015 at 9:26 PM, German wrot= e: > > > >> If I run poweroff from root, the system shuts down, however when I= run > >> poweroff from user -- command not found. How to shut down the syst= em from > >> user? Thanks > >> > >> -- > >> German > >> > >> > > poweroff(1) says: > > If you're not the superuser, you will get the message `must be s= upe=E2=80=90 > > ruser'. > > > > Either run poweroff as the superuser, or if you're running Gnome, K= DE, > > XFCE, etc., you may use the shutdown option available in those desk= top > > environments. > > > > Others might suggest other ways of doing it. > > >=20 > It's actually poweroff(8). Sorry. That's actually sysvinit poweroff...systemd's is different. --=20 Fernando Rodriguez