From nobody Wed Sep 22 10:29:32 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 E1DFB175FAF5; Wed, 22 Sep 2021 10:29:39 +0000 (UTC) (envelope-from chris.stephan@live.com) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn20828.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::828]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HDvg758J9z4sQP; Wed, 22 Sep 2021 10:29:39 +0000 (UTC) (envelope-from chris.stephan@live.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ipvk+f4tyufkcJBawni4hADx+SeONWuhjVHq39J0H0t/UNRtk8gZcfn0s2KDdeIQ4h/3G/JXKTNqDdQH9B++0Ic//6PpbiWrYtMGsNeJJpBatdANWEUIdVLpfxFd8/oMdugIfo/obIDIG2Ka18bBe3JNHzQm4qYWEq8yLmZlqenwPkE5yzdXptvzK4h0sk87vasoXb153V3FZjQIXBc425CClrtGEk4iSnTYbfhSDg+UnvWLZ47NojczE7AOpqtmWJlQhHtpMFYujRdRZOlpJUw6cXAVMjwe+edwNhBdrxkbq9hrvg0X5f7wjsG8ueH7HKgdV0Q/EzwBRqjaVnLESQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DyeW8ktK6gF0qxMnlGy0+NkM//mPNYuOKqb7MkZYA7Q=; b=fhyXgVDtY87zzTu3W7WhzUAgDMKTG+ODyX+8BSRiLOzd7LxgBouTDnEp58sOKhNja3Rt/LjDREq/bvrykB9lhbMwmsxtQdIi05q3DqeqZzpNLywoUCok6C4c9QXVAZxEdbLzPhE5rkjh+z1T57zUJJFiOwFDXwy4bFyBOauV0a+9pKVqzmCaHaIWPYhLMSIOvKb1iASvoKnpZ78JVhGCBp3e9IXzhJW2+C9CXWYe6HDfb9sLKg6X9uuonT2kxUr3XVa73c2jhvynBB7JGbUss93BoCjeVVmmGAQRbBFXBQgKgs3Ce1jvIW5Qim2kKV25cZDmFBF04YG4qnLWU4OdEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DyeW8ktK6gF0qxMnlGy0+NkM//mPNYuOKqb7MkZYA7Q=; b=iG/ROtJnzWkoWKqQAkXv3v1HiJSrlEhLzJrPVRL/tGqDs5Xuhzz+CnCXVXX95NgFtXvaGiTMPsatW8cj2IbxRIt82OvzwyV8/3YgfNyHY8Ulu6DXd5l0A8MlQMED9k5W9iD7Ae0sb4x4ClQEQZg5qPwEYGnVwpM6t0VVsVnmJjL0GSOf5W0HCTOY6M8hJD80fYKEoNwPwYEEp/tEWR824kD1dFlhxBuPvicb7W5XU8XwII4Z/BWlkubX1vv0utQv+fCoxuvqWlco0JjnzCd/bp5s/ljVsZw77GyA/tI8yi6MKrxFHTYEW6rCbiWWVEgcD1iKWI2y0Plr/o6DTA+U3Q== Received: from SA1PR02MB8669.namprd02.prod.outlook.com (2603:10b6:806:1fc::12) by SN4PR0201MB3437.namprd02.prod.outlook.com (2603:10b6:803:51::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.18; Wed, 22 Sep 2021 10:29:32 +0000 Received: from SA1PR02MB8669.namprd02.prod.outlook.com ([fe80::dd1:b18a:dc30:a9e0]) by SA1PR02MB8669.namprd02.prod.outlook.com ([fe80::dd1:b18a:dc30:a9e0%3]) with mapi id 15.20.4544.013; Wed, 22 Sep 2021 10:29:32 +0000 From: Chris Stephan To: Baptiste Daroussin , "current@freebsd.org" , "arch@FreeBSD.org" Subject: Re: [HEADSUP] making /bin/sh the default shell for root Thread-Topic: [HEADSUP] making /bin/sh the default shell for root Thread-Index: AQHXr40cxy0vUGc6AkWoVJhLJ/8Elauv10Ky Date: Wed, 22 Sep 2021 10:29:32 +0000 Message-ID: References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> In-Reply-To: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [SuY93E1n7UyqFEpcJf6QghDKLpoAdxlv] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aa54e8ea-c08f-40d2-26f8-08d97db3ddf2 x-ms-traffictypediagnostic: SN4PR0201MB3437: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 47YbFDk9y61ENMn5qcs51bVSArJneNrQLxJHa1vugkm08vkSkeXVMVooo4f2PqeyNluBgEc/ueHTP8pal6i6ZOPEfiSSzP+GaX0Af6LKF8ZNeb+BzkRGQuAEDwJSY/v7iZMPfCrxb28tj6uc7mff4+rkjmm96kwxzWUzsLZBa/4+29i4jInzM+4r2R4kuKiUxAVKnJizTxCHOjjKr66HuSNYdB53uqodzvqd/2dqG0xw+9gajyf+atbB+qxoGNs9/rqhqQYhNgfkADnNaxyuOmBfHLtkDFAFJwEo9HfnGuVakMBOycG00Sw/19G3WVJ2NXH5O6UAU+zHI+6mCy0RMTTPVwxiq/cuRzglmndgU+B8yW/oQ0plP3UR3703TG6WQfizIR7krv/kYyjYy7WEUqA2yg4XRUSnOIHSA8jGn42NeFPAZ+/0et/MZVbEa9nj x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 3lzu3A0l2QHAe5+8X2lhgC+++O1LSB2E5No3BznEfMsitH7np+jC7h7CdZzTj6gtQ1ie/yaUYvnKheWdLFnhUpF8vrCsS59aBe58XLnPV6Uo/gKSPC3vWD3r8M8t7tYpDTJcInZcaz8AxUxq3FaDQg== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_SA1PR02MB8669B26ABC212799FF5B18E59BA29SA1PR02MB8669namp_" 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 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-cec7a.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR02MB8669.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: aa54e8ea-c08f-40d2-26f8-08d97db3ddf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 10:29:32.3518 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0201MB3437 X-Rspamd-Queue-Id: 4HDvg758J9z4sQP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --_000_SA1PR02MB8669B26ABC212799FF5B18E59BA29SA1PR02MB8669namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I completely agree. It will save me the =91/bin/sh=92 at the beginning of e= ach =91su -=91 session. Also, it will simplify building extra small FreeBSD= images, allowing an easier removal of =91csh=92. I use csh from time to time, but I do wish it would take a much more explic= it action so my brain has switched over to =91csh mode=92. I won=92t lie th= at I=92ve pasted script into my terminal and spent time troubleshooting why= the commands didn=92t work only to realize I forgot to change to /bin/sh f= irst. Chris Stephan Sent from FreeBSD ________________________________ From: owner-freebsd-current@freebsd.org = on behalf of Baptiste Daroussin Sent: Wednesday, September 22, 2021 3:36:45 AM To: current@freebsd.org ; arch@FreeBSD.org Subject: [HEADSUP] making /bin/sh the default shell for root 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 confus= ing as a default shell for many as all other unix like settled on a bourne shel= l 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 sh= ells * 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 propo= se 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! Best regards, Baptiste --_000_SA1PR02MB8669B26ABC212799FF5B18E59BA29SA1PR02MB8669namp_--