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 62924138CBE for ; Sat, 21 Mar 2015 19:34:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88024E0941; Sat, 21 Mar 2015 19:34:53 +0000 (UTC) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) (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 47E91E0913 for ; Sat, 21 Mar 2015 19:34:52 +0000 (UTC) Received: by wegp1 with SMTP id p1so106639549weg.1 for ; Sat, 21 Mar 2015 12:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jxkrL6+0vptvpqiXoeU0jsPNdrHKp3z8n7pq13LODyY=; b=0XUvnu3pOXAEkShNeyEMItErfhwoR2qfXjvH/BvUINjiW4RXww6wbi1KVJP7sH5rFq yq1eo2N2Wz6Xb0fKsAGQ/QoUt5ZKI/7XwMXOZfVs2Z7lcFZrT0NfRIMIbDIduM0Oow+z 3Ksn6bb2+pD+NjR/r6tBDdlsEBv8SUmWHu4DQVTYN/2ITp5JceS1L0Y5Ty4s/nUCfhSR F5guX7Cd04XbZ2xf71wmUPbd53QXjfx8DIVfHwKI+MsqbTX4vJ4MHsA8kUvTMtUQXN0F lJAJLwy8qJwCm6yHGVkbyHADA9wjtEdI1MxR40QO/k63rkeKgbFGt+tggFqD+YZWQo6r IOVQ== 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.180.218.162 with SMTP id ph2mr6400551wic.22.1426966491203; Sat, 21 Mar 2015 12:34:51 -0700 (PDT) Received: by 10.28.188.133 with HTTP; Sat, 21 Mar 2015 12:34:51 -0700 (PDT) In-Reply-To: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> Date: Sat, 21 Mar 2015 21:34:51 +0200 Message-ID: Subject: Re: [gentoo-user] How to poweroff the system from user? From: Alexander Kapshuk To: Gentoo mailing list Content-Type: multipart/alternative; boundary=001a1135ea46d08cdf0511d186ab X-Archives-Salt: 4bab0e57-9bec-481b-bc64-399778cc131c X-Archives-Hash: e15215f6aa58328ca759265220cf37ac --001a1135ea46d08cdf0511d186ab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Mar 21, 2015 at 9:26 PM, German wrote: > 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 system from > user? Thanks > > -- > German > > poweroff(1) says: If you're not the superuser, you will get the message `must be supe=E2= =80=90 ruser'. Either run poweroff as the superuser, or if you're running Gnome, KDE, XFCE, etc., you may use the shutdown option available in those desktop environments. Others might suggest other ways of doing it. --001a1135ea46d08cdf0511d186ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Mar 21, 2015 at 9:26 PM, German = <gentgerman@gm= ail.com> wrote:
If I run powe= roff from root, the system shuts down, however when I run poweroff from use= r -- command not found. How to shut down the system from user? Thanks

--
German <gentgerman@gmail.com= >


power= off(1) says:
If=C2=A0 you're=C2=A0 not=C2=A0 the superuser, you will= get the message `must be supe=E2=80=90
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ruser'.

Either run poweroff as the superuser, or if you're run= ning Gnome, KDE, XFCE, etc., you may use the shutdown option available in t= hose desktop environments.

Others m= ight suggest other ways of doing it.
--001a1135ea46d08cdf0511d186ab--