Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 17:04:15 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Renato Botelho <garga@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: [HEADSUP] the default root shell is now /bin/sh
Message-ID:  <20211020150415.wfxarso2im7teamd@aniel.nours.eu>
In-Reply-To: <9c20d9f0-776d-8550-8599-efa27ad792dd@FreeBSD.org>
References:  <20211020074050.qmxf5z5haranx4zi@aniel.nours.eu> <9c20d9f0-776d-8550-8599-efa27ad792dd@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 20, 2021 at 12:02:23PM -0300, Renato Botelho wrote:
> On 20/10/21 04:40, Baptiste Daroussin wrote:
> > Hello,
> > 
> > Following up on the proposal which happened last month, /bin/sh is now the
> > default shell for the root user.
> > 
> > As claimed during that proposal, I have so far no intention to change anything
> > more: I won't remove or modify the 'toor' user, neither modify the root gecos.
> > 
> > By popular demand on the thread about the proposal the following bindings have
> > been set by default:
> > 
> > navigation through history "ala" csh via the up and down arrow
> > navigation on the command line via ctrl+arrow (left/right) jumps from words to
> > words
> > An alias on fc -l named "history", so the history command to exist.
> > 
> > etcupdate will silently switch to sh(1) the first time, for people who wants to
> > keep root on csh, they will have to run:
> >   $ chsh -s csh
> > 
> > The next upgrade will keep that setting
> 
> Will sh config be upgraded to reflect all recent changes as well or we need
> to do it manually?

For root yes, for users you will have to do it manually

Best regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211020150415.wfxarso2im7teamd>