Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 09:40:50 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        current@freebsd.org
Subject:   [HEADSUP] the default root shell is now /bin/sh
Message-ID:  <20211020074050.qmxf5z5haranx4zi@aniel.nours.eu>

next in thread | raw e-mail | index | archive | help
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

Best regards,
Bapt



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