Re: [HEADSUP] making /bin/sh the default shell for root

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Thu, 23 Sep 2021 04:56:25 +0200
On Wed, Sep 22, 2021 at 10:03:40PM +0200, Alban Hertroys wrote:
> 
> > On 22 Sep 2021, at 10:36, Baptiste Daroussin <bapt_at_freebsd.org> wrote:
> > 
> > Hello,
> > 
> > TL;DR: this is not a proposal to deorbit csh from base!!!
> 
> (…)
> 
> > Recently our sh(1) has receive update to make it more user friendly in
> > interactive mode:
> > * command completion (thanks pstef_at_)
> > * improvement in the emacs mode, to make it behave by default like other shells
> > * improvement in the vi mode (in particular the vi edit to respect $EDITOR)
> > * support for history as described by POSIX.
> > 
> > This makes it a usable shell by default, which is why I would like to propose to
> > make it the default shell for root starting FreeBSD 14.0-RELEASE (not MFCed)
> 
> My one concern is this: what is the impact of these usability improvements to sh on its usage in scripts?

None, those are in a code path with doesn't get executed when in non interactive
mode.

Best regards,
Bapt
Received on Thu Sep 23 2021 - 02:56:25 UTC

Original text of this message