Date: Fri, 12 Sep 2014 15:04:57 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Benjamin Kaduk <kaduk@MIT.EDU> Cc: "Rang, Anton" <anton.rang@isilon.com>, freebsd-current Current <freebsd-current@freebsd.org>, ports <freebsd-ports@freebsd.org> Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <756A4BFA-6BFB-4008-8B5E-85A2EBBBA1BD@gmail.com> In-Reply-To: <alpine.GSO.1.10.1409121750380.21571@multics.mit.edu> References: <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <20140912214004.GT6096@ivaldir.etoilebsd.net> <F21EDC44C64DB34B90AF485AC3CEDD4B35449133@MX104CL01.corp.emc.com> <alpine.GSO.1.10.1409121750380.21571@multics.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 12, 2014, at 14:53, Benjamin Kaduk <kaduk@MIT.EDU> wrote: > On Fri, 12 Sep 2014, Rang, Anton wrote: >=20 >>> If you want interoperability just use /usr/bin/env bash as a = shebang. >>=20 >> That doesn't work for this use case -- the user shell coming from = LDAP >> -- but I agree that the port shouldn't be modifying /usr/bin. >=20 > Here at MIT, where our Athena environment has a long history of = providing > a consistent experience across many different platforms, we ended up > limiting the login shells a user could select, to a whitelist we = provide > (/bin/sh, /usr/athena/bin/bash, and /usr/athena/bin/tcsh). (The = latter > two are now symlinks to the normal system shells, but they used to be > custom binaries.) >=20 > Some people did not like being so restricted, and set their login = shell to > /bin/sh, with logic in their dotfiles to re-exec a different shell > depending on the current runtime environment. +1 user rc files (not that it would fix this particular case...): - = https://github.com/yaneurabeya/scratch/blob/master/bayonetta/home/ngie/dot= .bashrc - = https://github.com/yaneurabeya/scratch/blob/master/bayonetta/home/ngie/dot= .shrc-local Cheers, -Garrett --Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUE24JAAoJEMZr5QU6S73e8HEH/18lYVZ57uiTR2G7dc/09dlI Pvhma7ktGMRmH5mD6Mk6zCUPM9jwc7ju8HZ4Kt7falB41Nvzb/9uGcY4SmwVJfXt h1491edCcpk0r51W/v5vEFGzYAlQ/LbLfZVTOQzelbJap+ktOKIQW7NxXZW9Ducs OdNzKpSJ5/Px1iP5PpgCC85Upcn7MARORJfmPGJnavPz7ltn0fszG1KJghWDqT+S TzoogdZPfAUtGtq3v7fpRivhlAWTaOL7lFm/Vo3ENmApEpLMGSl065SEppFxK+pJ L6IaWlPYe88YELWl3T/YQDo1FkQSyjEWN1XWvNXeTuZiWC0ynMu2L5i1CFJU6cU= =yJPB -----END PGP SIGNATURE----- --Apple-Mail=_4ACC29B3-CA98-44F9-96A0-C0404FC6ACC1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?756A4BFA-6BFB-4008-8B5E-85A2EBBBA1BD>