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 1183C1384B4 for ; Wed, 25 Nov 2015 19:18:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58D9C21C160; Wed, 25 Nov 2015 19:18:36 +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 54AAD21C08A for ; Wed, 25 Nov 2015 19:18:35 +0000 (UTC) Received: from sporkbox.hsd1.wa.comcast.net (c-73-53-75-119.hsd1.wa.comcast.net [73.53.75.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zlg) by smtp.gentoo.org (Postfix) with ESMTPSA id 26C0C340754 for ; Wed, 25 Nov 2015 19:18:33 +0000 (UTC) Subject: Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users To: gentoo-dev@lists.gentoo.org References: <20151125171011.GA8731@whubbs1.ad.gaikai.biz> <5655F183.70102@gentoo.org> <22101.63577.329581.418529@a1i15.kph.uni-mainz.de> <20151125191738.205f8375.mgorny@gentoo.org> From: Daniel Campbell Message-ID: <5656098A.5040100@gentoo.org> Date: Wed, 25 Nov 2015 11:18:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 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 In-Reply-To: <20151125191738.205f8375.mgorny@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: f4de696e-f01a-4a8e-ba50-f4833a759747 X-Archives-Hash: 9e6c9e56ed67c8a9aa7b224f26f57b56 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/25/2015 10:17 AM, Michał Górny wrote: > On Wed, 25 Nov 2015 19:05:13 +0100 Ulrich Mueller > wrote: > >>>>>>> On Wed, 25 Nov 2015, Kristian Fiskerstrand wrote: >> >>> On 11/25/2015 06:10 PM, William Hubbs wrote: >>>> I would like for us to discuss adding the sbin directories to >>>> PATH for all users. >> >>> 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. >> >> +1 >> >> 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. > Maybe I'm missing something, but `df` is in /bin. Do you use something else to determine free space? - -- Daniel Campbell - Gentoo Developer OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWVgmJAAoJEAEkDpRQOeFwEQIQAIoen/Ay5+fjY3mJfZn7NCKs jrhvtaj4ZOexQ2RPt7vW1HfihtueWXWZrnkpA3wnWl5xryv++S1G9WLn/2+I3uQc y1D63z6Cu3pet+hDdCRM57oS3kdx9DMzjWIUpkohwdxal7MTnwGgh2K4oMotX3P2 npctie/gKwUEGLipqjsOR2pwt1dVSyx5NJPboUydhQW6lBghQoj0Cmcz46niqlva aOGn93OcTlhySrwsVzbTWS6iJm0R3Ztm2oIkDmIikqJzEJA3UzKysWnlHqw8ZmPn HEyAqOQ7mrgKliMTcJqFkhhieTPjMUK5L8UzA6gduucAb0XumrWt7I/i0CdRKiw5 VrQw48aCR0RIZx2V3qakRk/bVuPCaSDmXH31dxF0CEs1r4FXg4fBO8/ahjna7QC+ aimRxPLWKLStJQPdo4Lr7xF0JLDjdrT/oLBdqGp+Vz646AdXBHVfdBI+zxpGRgFj SljKvnjv5+2BDvXAZvE+tImAPJVqV1YivHdo/htKSnJhWeFCVNwhS98SqLG+PJFa QOvp0Mz/EflHKXiHfhB5QBfiVsNGoiti2EO8tP77IwBZ0WUvCotiZKVsqfydkxr3 QWxfaGgFIPmV9++xJ//AvSnCUmSBS+8jk3kBSlY6Gxju5t7QVu+Ulxv82dLooUO7 fABFJx4Jau7/8p2K1XMW =Ym0P -----END PGP SIGNATURE-----