From owner-freebsd-arch@FreeBSD.ORG Thu Nov 10 17:16:06 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57C6A1065676 for ; Thu, 10 Nov 2011 17:16:06 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id EC7028FC18 for ; Thu, 10 Nov 2011 17:16:05 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 351162A28CC9; Thu, 10 Nov 2011 18:16:05 +0100 (CET) Date: Thu, 10 Nov 2011 18:16:05 +0100 From: Ed Schouten To: Peter Wemm Message-ID: <20111110171605.GI2164@hoeg.nl> References: <20111110123919.GF2164@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NqSa+Xr3J/G6Hhls" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arch@freebsd.org Subject: Re: The strangeness called `sbin' X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 17:16:06 -0000 --NqSa+Xr3J/G6Hhls Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Peter, * Peter Wemm , 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 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--