Re: shells/bash port, add a knob which symlinks to /bin/bash ?

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Fri, 12 Sep 2014 15:04:57 -0700
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

Received on Fri Sep 12 2014 - 20:05:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC