shells/bash port, add a knob which symlinks to /bin/bash ?
Garrett Cooper
yaneurabeya at gmail.com
Fri Sep 12 22:05:01 UTC 2014
On Sep 12, 2014, at 14:53, Benjamin Kaduk <kaduk at MIT.EDU> wrote:
> On Fri, 12 Sep 2014, Rang, Anton wrote:
>
>>> If you want interoperability just use /usr/bin/env bash as a shebang.
>>
>> 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.
>
> 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.)
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140912/8a2d8d63/attachment.sig>
More information about the freebsd-current
mailing list