From nobody Thu Sep 23 20:28:37 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 7E1A017D50C4; Thu, 23 Sep 2021 20:28:44 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HFmvv5ltWz4YYy; Thu, 23 Sep 2021 20:28:43 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id B0E053C0199; Thu, 23 Sep 2021 20:28:37 +0000 (UTC) Date: Thu, 23 Sep 2021 20:28:37 +0000 From: Brooks Davis To: Baptiste Daroussin Cc: current@freebsd.org, arch@FreeBSD.org Subject: Re: [HEADSUP] making /bin/sh the default shell for root Message-ID: <20210923202837.GC63086@spindle.one-eyed-alien.net> References: <20210922083645.4vnoajyvwq6wfhdf@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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4HFmvv5ltWz4YYy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-3.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FREEFALL_USER(0.00)[brooks]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.958]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net] X-ThisMailContainsUnwantedMimeParts: N --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 22, 2021 at 10:36:45AM +0200, Baptiste Daroussin wrote: > Hello, >=20 > TL;DR: this is not a proposal to deorbit csh from base!!! >=20 > For years now, csh is the default root shell for FreeBSD, csh can be conf= using > as a default shell for many as all other unix like settled on a bourne sh= ell > compatible interactive shell: zsh, bash, or variant of ksh. Think we should switch in 14+. My main argument is that shell one-liners in documentation are almost always written in Bourne syntax. I believe the fact that we're an outlier is confusing the sort of new users we hope to attract with thinks like Raspberry-pi and cloud images. As a long-time user, it even trips me up when I do some work on a FreeBSD box after spending most of my time on other systems. -- Brooks --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJhTON1AAoJEKzQXbSebgfAt+cH/A/z3/FT7hMIMFbumlo8sbML 9xqGsGC3nsh7oUbtqUn9tRlD1zfh5NnSZ1WyNF6f+L8s01gDBRAm1kndwAajB3Kb K2Zga+B0kVHNACDUAKcZsMJgoQY6TRF4JlhX77dAp9NPb7HWQAQ4c0IKwgVLyy7O 77vPXQXhQeJE4HasF6EY8QrUZJhKePh6SZ1d67dBQpkyfOta2R4oKM7ez8rMZ3OE aUJ/1KhxYzeELJsepP6st60jxzE5hZ6MX/vOIQ2JftF5paTCqPKkP0xi8nGOrHBF MF8iblgMiGLHCtS9CofFQknIwp1uNz7y7YWPy6NjcfNgySwl8+F4nBNnJ7zRBks= =0fIT -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--