From nobody Wed Sep 22 15:52:53 2021 X-Original-To: arch@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 0FFE517CD783; Wed, 22 Sep 2021 15:52:57 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HF2r8464xz3w7D; Wed, 22 Sep 2021 15:52:56 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 18MFqsil050410; Wed, 22 Sep 2021 08:52:54 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 18MFqsTS050409; Wed, 22 Sep 2021 08:52:54 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202109221552.18MFqsTS050409@gndrsh.dnsmgr.net> Subject: Re: [HEADSUP] making /bin/sh the default shell for root In-Reply-To: <20210922154222.6bvnqk4kjjxewy6n@mutt-hbsd> To: Shawn Webb Date: Wed, 22 Sep 2021 08:52:53 -0700 (PDT) CC: John Baldwin , Baptiste Daroussin , current@FreeBSD.org, arch@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4HF2r8464xz3w7D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On Wed, Sep 22, 2021 at 08:34:58AM -0700, John Baldwin wrote: > > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > > Hello, > > > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > > > For years now, csh is the default root shell for FreeBSD, csh can be confusing > > > as a default shell for many as all other unix like settled on a bourne shell > > > compatible interactive shell: zsh, bash, or variant of ksh. > > > > > > Recently our sh(1) has receive update to make it more user friendly in > > > interactive mode: > > > * command completion (thanks pstef@) > > > * improvement in the emacs mode, to make it behave by default like other shells > > > * improvement in the vi mode (in particular the vi edit to respect $EDITOR) > > > * support for history as described by POSIX. > > > > > > This makes it a usable shell by default, which is why I would like to propose to > > > make it the default shell for root starting FreeBSD 14.0-RELEASE (not MFCed) > > > > > > If no strong arguments has been raised until October 15th, I will make this > > > proposal happen. > > > > > > Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! > > > > I think this is fine. I would also be fine with either removing 'toor' from the > > default password file or just leaving it as-is for POLA. (I would probably > > prefer removing it outright.) > > HardenedBSD recently removed toor. No one has complained (yet?). A > small Twitter poll[0] showed that 85% of people who responded do not > use toor. A truely disastisified customer does not complain, they simply go some place else for there products. Be carefull in what you believe silence to be saying. > > [0]: https://twitter.com/HardenedBSD/status/1415781911063056389 > > Thanks, > > -- > Shawn Webb > Cofounder / Security Engineer > HardenedBSD > > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc -- Rod Grimes rgrimes@freebsd.org