From nobody Wed Oct 20 07:40:50 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4C03917FEF15 for ; Wed, 20 Oct 2021 07:40:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HZ2bT1qknz3Brl for ; Wed, 20 Oct 2021 07:40:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 0C2556E9F for ; Wed, 20 Oct 2021 07:40:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id C8F33B2DF8; Wed, 20 Oct 2021 09:40:50 +0200 (CEST) Date: Wed, 20 Oct 2021 09:40:50 +0200 From: Baptiste Daroussin To: current@freebsd.org Subject: [HEADSUP] the default root shell is now /bin/sh Message-ID: <20211020074050.qmxf5z5haranx4zi@aniel.nours.eu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-ThisMailContainsUnwantedMimeParts: N 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