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

From: Miroslav Lachman <>
Date: Thu, 23 Sep 2021 09:46:53 +0200
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.

If you want to catch users on sh, do it better, please!

> "csh considered harmful"
> toor needs to go as part of simple cruft removal for a cleaner base,
> else you would have to add zoor, koor, boor, toor, etc. No no no no!
> Nobody leave FreeBSD just to get run csh on their windows command prompt ;)
> Users are always free to customize local installs as desired.

It cuts both ways. If users are free to customize they can switch from 
current default csh to sh and no change in base is needed.

Miroslav Lachman
Received on Thu Sep 23 2021 - 07:46:53 UTC

Original text of this message