Date: Thu, 10 Nov 2011 18:16:05 +0100 From: Ed Schouten <ed@80386.nl> To: Peter Wemm <peter@wemm.org> Cc: arch@freebsd.org Subject: Re: The strangeness called `sbin' Message-ID: <20111110171605.GI2164@hoeg.nl> In-Reply-To: <CAGE5yCr3BzWzwOAqo7wifgUTRC%2BG=2o4bDmk9H-%2BCxr=zJqYmw@mail.gmail.com> References: <20111110123919.GF2164@hoeg.nl> <CAGE5yCr3BzWzwOAqo7wifgUTRC%2BG=2o4bDmk9H-%2BCxr=zJqYmw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--NqSa+Xr3J/G6Hhls Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Peter, * Peter Wemm <peter@wemm.org>, 20111110 17:56: > Of course, that pales in comparison to the impact of adding > /usr/local/bin to the path, but it does show this does have potential > user visibility. And there's also the issue that most most users add > every possible directory to their $PATH anyway. Exactly. Also, there are shells nowadays that cache all binaries in PATH up front, such as zsh. When they start, they loop through all dirents in all directories in $PATH and add it to a big cache. This entirely defeats this purpose. I don't think that there are that many people who don't add /sbin and /usr/sbin to $PATH nowadays. I have colleagues of mine who use Linux systems that don't have this in their $PATH. When I ask them whether it causes problems for them, they deny, but it turns out they simply put `sudo' in front of it, to work around that, regardless of whether it was needed. > Is it really worth it though? Perhaps fix the couple of oddball cases > instead? (eg: md5, lastlogin and friends). ac used to require access > to privileged files due to privacy concerns on shared user systems. I think if we have to look at each tool and re-examine whether they should be in bin or sbin and convert them to do so, it would take approximately the same amount of investment as moving them into a single place. And I am willing to do that. :-) --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --NqSa+Xr3J/G6Hhls Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOvAbVAAoJEG5e2P40kaK7Zk0P/3PvQbFF5GOLZq5zhV9XufLa tmlk3FVGwSOTayQr+yyvttBF2vNRDKs8n9MoYdcSBd0NaffVW3IWpOUIhzc4rcUG sd1bKUB9iO15urRyihAVQZNLfjNC5fuuaqa9kJj/yG6XY85qlFLIuea8mRYGsYoh LZFOWhl3DN6fRk4+USzafyCpRvVzEd8BfSULNzB7KNr+AoVNXnE6Pp8zLurC7laq T8/paWf1cQAhUZigajPWxgWFLXplUG0TydGCKL0HsQWzdgDAS4zziq7e+svuX9Cu rplg6Y8q6Fx1gK+Qo6hUk2PJd3H8yzA8Z93R105fh9M7/hmxabubdOKdNm58pYFo 8C6MX9LBF54oPOiTVCsWBbzUbG5jngtCG7sucnRkKgRW0wZUEOYp7qBqWcfJxTjz evKcquuAnzrQuwbZGchkqhCPeowsAFHFY1CkToSo4Zw/6nXq3RLr+t7jTkEZbHlR zGcAYUuR3eloTEc+I9VzTp7yzUDMRKNPLrC/9A7HZtERLWxQXtVeZhLVZZZmfCN/ duOENCe5iNGeKOWjqMg/X2ogMmcqXAJDOOGgL/K+gtjbxcrTK7LLGQRHpFjppZPL lAPAy9nnAkuJE8VSTfFYo3gCOQwe34FoL6ZIMCxt9D3yv7wujDCRCMZrBwjlkdL0 D9TavV0bXoU+Jmgrm93Q =zr59 -----END PGP SIGNATURE----- --NqSa+Xr3J/G6Hhls--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111110171605.GI2164>