From nobody Wed Sep 22 17:54:39 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 3A71F17DD4A7; Wed, 22 Sep 2021 17:50:45 +0000 (UTC) (envelope-from thj@freebsd.org) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HF5S43lGPz4hsQ; Wed, 22 Sep 2021 17:50:44 +0000 (UTC) (envelope-from thj@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1CC1F32009DF; Wed, 22 Sep 2021 13:50:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 Sep 2021 13:50:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=+Z6vyI Zk1P1+31ZVgw2vuv5Mtf6Y+i5fTkUe5x4P/XU=; b=YOJVv2rrALXgCVV12+YCCX eF7v6kZf1gIAxEeEl8Lqut+44ZSF0eO3ighhzTH5yllwsyi2HOI/mImgaV+loAlb xKNqe/FpEZgWVuHuhlvGmgUEyDmVV5eimT4JBBf3E0Ky96T57VCnaI1DZ+NshqUr R0hnpVTmRLZQTP5k45G53MEHIfP8KnrQQSKUL0zulXN+GhcSsiuXCOA59P3p9FQa Zilh3iHyXzAzOk/SkLrzCstXz844WNlEmMCheLCWvgmuZ0Nhyh5DkqeMaFOnF4Fx 0i3Nyo4i59x9+v88tr6frqomsEgpoPVrH/0R1GDk5OPLZ3Tch7oPjzikrGmhoMUg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeijedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepvfhomhcu lfhonhgvshcuoehthhhjsehfrhgvvggsshgurdhorhhgqeenucggtffrrghtthgvrhhnpe etgfejgfekueetuddvgfdtgeeijeehudekgeffgfevtefflefgteeufeffkeeuheenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhjsehfrh gvvggsshgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 13:50:35 -0400 (EDT) Date: Wed, 22 Sep 2021 18:54:39 +0100 From: Tom Jones To: John Baldwin Cc: Baptiste Daroussin , current@freebsd.org, arch@freebsd.org Subject: Re: [HEADSUP] making /bin/sh the default shell for root Message-ID: <20210922175439.GD16760@tom-desk.erg.abdn.ac.uk> References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> <82d7f4d1-5ce9-c7ed-d993-b16b3ddac6e3@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: <82d7f4d1-5ce9-c7ed-d993-b16b3ddac6e3@FreeBSD.org> X-Rspamd-Queue-Id: 4HF5S43lGPz4hsQ 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.) I support both of these suggestions, when I first installed FreeBSD ~2006 toor already felt like a strange an anachronism. - Tom