From nobody Wed Oct 20 15:04:15 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 2690E181028C for ; Wed, 20 Oct 2021 15:04:17 +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 4HZDR50czLz3R9s; Wed, 20 Oct 2021 15:04:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (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 D496BADAD; Wed, 20 Oct 2021 15:04:16 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 29F27B38F4; Wed, 20 Oct 2021 17:04:15 +0200 (CEST) Date: Wed, 20 Oct 2021 17:04:15 +0200 From: Baptiste Daroussin To: Renato Botelho Cc: current@freebsd.org Subject: Re: [HEADSUP] the default root shell is now /bin/sh Message-ID: <20211020150415.wfxarso2im7teamd@aniel.nours.eu> References: <20211020074050.qmxf5z5haranx4zi@aniel.nours.eu> <9c20d9f0-776d-8550-8599-efa27ad792dd@FreeBSD.org> 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 In-Reply-To: <9c20d9f0-776d-8550-8599-efa27ad792dd@FreeBSD.org> X-ThisMailContainsUnwantedMimeParts: N 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