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 1864C1384B4 for ; Wed, 25 Nov 2015 18:18:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E94AA21C0BD; Wed, 25 Nov 2015 18:17:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE1DE21C08A for ; Wed, 25 Nov 2015 18:17:53 +0000 (UTC) Received: from pomiot (d202-251.icpnet.pl [109.173.202.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 74F0533BF44; Wed, 25 Nov 2015 18:17:50 +0000 (UTC) Date: Wed, 25 Nov 2015 19:17:38 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Ulrich Mueller Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users Message-ID: <20151125191738.205f8375.mgorny@gentoo.org> In-Reply-To: <22101.63577.329581.418529@a1i15.kph.uni-mainz.de> References: <20151125171011.GA8731@whubbs1.ad.gaikai.biz> <5655F183.70102@gentoo.org> <22101.63577.329581.418529@a1i15.kph.uni-mainz.de> Organization: Gentoo X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/3iSmPE_Ca.3QEjHbKTwXanC"; protocol="application/pgp-signature" X-Archives-Salt: f8493e3e-b435-4b8e-b0ca-962f0089e0b4 X-Archives-Hash: c282bc4704f4d948a4a9b00d3bc2f1c4 --Sig_/3iSmPE_Ca.3QEjHbKTwXanC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 25 Nov 2015 19:05:13 +0100 Ulrich Mueller wrote: > >>>>> On Wed, 25 Nov 2015, Kristian Fiskerstrand wrote: =20 >=20 > > On 11/25/2015 06:10 PM, William Hubbs wrote: =20 > >> I would like for us to discuss adding the sbin directories to PATH > >> for all users. =20 >=20 > > This sounds strange to me, if it should be executable by all users > > it likely shouldn't be in sbin in the first place but in bin. In any > > case; I don't see any good reason to change the traditional behavior > > of sbin only being in path for root. =20 >=20 > +1 >=20 > The sbin directories are separate from bin for the very reason that > binaries in there (which are only usable with elevated privileges) can > be excluded from normal users' PATH. Binaries like blkid, btrfs, getcap, sensors, swapon and various tools from net-tools, iputils, wireless-tools... and I really have better things to do than list all tools that landed in sbin for some fun reason yet work for normal users. But well, I'm the weird one wanting to be able to check how much free space I've got without going through hoops. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/3iSmPE_Ca.3QEjHbKTwXanC Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWVftDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOQ4oQAIhIZn441P1gtoa4GQ4iZgaW ttgtcxrRLbN2+xQ/MlKxZTkpXO2pjN6ekZnNscB0NPfV6c/hBcfLf0Oc60OTHnOX yM3CqcG4E4lJcXSrtykulp3KdFv9Yq1nI99uZOU0ZqtUUfKdd2AmxyBpKLRQJEzD KO2yLrrB/kYgpyGGUV5aS+2Cje8Qfyja+QFNOroBjg1k/KCFL6OlJX/X5nIcZbKD Ah3I97NBnGp1EUHYMU7oeIkuRtoCl+K6jMpwoFFUcf/LLidu9sG2dRggWe6vxKaF Pmyy5gch7o1iSNQD9eE6ZSXVF184Lwo6kC9aFT68BQsOlh35lPFlioe+KNEUMRrp Kf06V+A/FlHf3yguKgPAjdA5BMXAanx6vuQgmXTe8bdQAB1+sOYoH3gslj3J8mLk wWla5H4hsILCGApnUHkXb+oPUPrenSJJgsNPB31nma9jgWXfGzuoroqMUvMsOWIU B7aiTdcOBL7zdqK6ilai0g7RxyxoAsEj2eSId46o7u192rNb0FumNW29lkv44yHI 14BEbUXALouucNTCplmEvAhhCv+GKF/Vxi6iHrAcT7Ca2YLeApxx/3OuFwD6Ada8 A8VJ/e27bt8BTs+Q79Rl5t1rIYk+mxPxvphh6ZfoNcoByK3hLBptGusgEakC2dlO DbfzGpuFrkElrmpcwMkM =2/aU -----END PGP SIGNATURE----- --Sig_/3iSmPE_Ca.3QEjHbKTwXanC--