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

From: Rodney W. Grimes <freebsd-rwg_at_gndrsh.dnsmgr.net>
Date: Thu, 23 Sep 2021 16:40:50 UTC
> 
> Quoting Miroslav Lachman <000.fbsd@quip.cz>:
> 
> > On 22/09/2021 22:50, grarpamp wrote:
> >>> propose to make it the default shell for root starting FreeBSD 14.0-RELEASE
> >>
> >> Make it so.
> >>
> >> The whole rest of rc, pkg, base scripts and subsystems use a lot of  
> >> sh, not csh.
> >> So this is a good compatibility, consistancy, and gotcha-removing update,
> >> needed for decades.
> >>
> >> Even "bash" is a majority spoken shell in Linux/world, helping
> >> make crossovers if BSD becomes a bit more bash-like.
> >
> > More bashism and linuxism in BSD world, you are waking the devil.
> >
> >> The bsd sh feature updates are filling useful/needed capability gaps.
> >
> > Moving to sh without maintain the same history search behavior  
> > (start of the command and Up & Down arrows) are like cutting one leg.
> >
> > The (t)csh is what I really like on every FreeBSD machine. Never  
> > seen good configured bash (prompt + history search) on any other OS  
> > I ever visited. Not saying it is not possible but if FreeBSD will  
> > switch default shell to something else I expect to do it the way  
> > that it is more user friendly and powerful than on other OSes where  
> > everything is leaved to "users can customize it". Current state of  
> > sh behavior is really that "bad" way.
> we are talking of the default sehll for the root user. One does not
> really work as root user, but if son nothing stops who ever wants to
> to exec zsh or exec tcsh?
> 
> Whoever wants is free to add other users with root pemissions is free
> to do so.

That is a zero sum argument.  Ie, same can be said about those who
wish to have the current default changed.  Changing that default is
actually going to require NEW special casing of any code that expects
the now 30+ year default.  Those who DO like it changed, have already
made changes to have it changed, so changing the default only adds
to work for both parties, to me a net loss.

Leave the defaults alone, provide tools and such to make it easier
for people to tweak those defaults on install.  Stop adding work
to both the people who like how it is now, and people who like
the idea of this change, its not productive for anyone.


> Rolf M Dietze

-- 
Rod Grimes                                                 rgrimes@freebsd.org