Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users
Date: Wed, 25 Nov 2015 19:18:48
Message-Id: 5656098A.5040100@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 11/25/2015 10:17 AM, Michał Górny wrote:
5 > On Wed, 25 Nov 2015 19:05:13 +0100 Ulrich Mueller <ulm@g.o>
6 > wrote:
7 >
8 >>>>>>> On Wed, 25 Nov 2015, Kristian Fiskerstrand wrote:
9 >>
10 >>> On 11/25/2015 06:10 PM, William Hubbs wrote:
11 >>>> I would like for us to discuss adding the sbin directories to
12 >>>> PATH for all users.
13 >>
14 >>> This sounds strange to me, if it should be executable by all
15 >>> users it likely shouldn't be in sbin in the first place but in
16 >>> bin. In any case; I don't see any good reason to change the
17 >>> traditional behavior of sbin only being in path for root.
18 >>
19 >> +1
20 >>
21 >> The sbin directories are separate from bin for the very reason
22 >> that binaries in there (which are only usable with elevated
23 >> privileges) can be excluded from normal users' PATH.
24 >
25 > Binaries like blkid, btrfs, getcap, sensors, swapon and various
26 > tools from net-tools, iputils, wireless-tools... and I really have
27 > better things to do than list all tools that landed in sbin for
28 > some fun reason yet work for normal users.
29 >
30 > But well, I'm the weird one wanting to be able to check how much
31 > free space I've got without going through hoops.
32 >
33
34 Maybe I'm missing something, but `df` is in /bin. Do you use something
35 else to determine free space?
36
37 - --
38 Daniel Campbell - Gentoo Developer
39 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
40 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v2
43
44 iQIcBAEBCAAGBQJWVgmJAAoJEAEkDpRQOeFwEQIQAIoen/Ay5+fjY3mJfZn7NCKs
45 jrhvtaj4ZOexQ2RPt7vW1HfihtueWXWZrnkpA3wnWl5xryv++S1G9WLn/2+I3uQc
46 y1D63z6Cu3pet+hDdCRM57oS3kdx9DMzjWIUpkohwdxal7MTnwGgh2K4oMotX3P2
47 npctie/gKwUEGLipqjsOR2pwt1dVSyx5NJPboUydhQW6lBghQoj0Cmcz46niqlva
48 aOGn93OcTlhySrwsVzbTWS6iJm0R3Ztm2oIkDmIikqJzEJA3UzKysWnlHqw8ZmPn
49 HEyAqOQ7mrgKliMTcJqFkhhieTPjMUK5L8UzA6gduucAb0XumrWt7I/i0CdRKiw5
50 VrQw48aCR0RIZx2V3qakRk/bVuPCaSDmXH31dxF0CEs1r4FXg4fBO8/ahjna7QC+
51 aimRxPLWKLStJQPdo4Lr7xF0JLDjdrT/oLBdqGp+Vz646AdXBHVfdBI+zxpGRgFj
52 SljKvnjv5+2BDvXAZvE+tImAPJVqV1YivHdo/htKSnJhWeFCVNwhS98SqLG+PJFa
53 QOvp0Mz/EflHKXiHfhB5QBfiVsNGoiti2EO8tP77IwBZ0WUvCotiZKVsqfydkxr3
54 QWxfaGgFIPmV9++xJ//AvSnCUmSBS+8jk3kBSlY6Gxju5t7QVu+Ulxv82dLooUO7
55 fABFJx4Jau7/8p2K1XMW
56 =Ym0P
57 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] rfc: adding sbin directories to PATH for all users "Michał Górny" <mgorny@g.o>