From nobody Thu Sep 23 08:13:02 2021 X-Original-To: freebsd-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 83A4817CC429 for ; Thu, 23 Sep 2021 08:13:12 +0000 (UTC) (envelope-from rmd@orbit.in-berlin.de) Received: from einhorn-mail-out.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) (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 "mail.in-berlin.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HFSbC1pGMz3Qsj for ; Thu, 23 Sep 2021 08:13:10 +0000 (UTC) (envelope-from rmd@orbit.in-berlin.de) X-Envelope-From: rmd@orbit.in-berlin.de X-Envelope-To: Received: from localhost (yak.in-berlin.de [192.109.42.109]) by einhorn.in-berlin.de with ESMTPS id 18N8D2QQ006779 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Sep 2021 10:13:02 +0200 Received: from p200300daa70f4e00b1e1ac275ddedee3.dip0.t-ipconnect.de (p200300daa70f4e00b1e1ac275ddedee3.dip0.t-ipconnect.de [2003:da:a70f:4e00:b1e1:ac27:5dde:dee3]) by webmail.in-berlin.de (Horde Framework) with HTTPS; Thu, 23 Sep 2021 10:13:02 +0200 Date: Thu, 23 Sep 2021 10:13:02 +0200 Message-ID: <20210923101302.Horde.kQlN5_c-mrjaAY0QN0wtgns@webmail.in-berlin.de> From: "Rolf M. Dietze" To: freebsd-current@freebsd.org Subject: Re: [HEADSUP] making /bin/sh the default shell for root References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> <3f7d159b-9f32-e88c-360e-35f8c4b12e23@quip.cz> In-Reply-To: <3f7d159b-9f32-e88c-360e-35f8c4b12e23@quip.cz> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes 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-Disposition: inline X-Rspamd-Queue-Id: 4HFSbC1pGMz3Qsj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rmd@orbit.in-berlin.de has no SPF policy when checking 192.109.42.8) smtp.mailfrom=rmd@orbit.in-berlin.de X-Spamd-Result: default: False [-2.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[192.109.42.8:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[orbit.in-berlin.de]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29670, ipnet:192.109.42.0/24, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[192.109.42.8:from] X-ThisMailContainsUnwantedMimeParts: N Quoting Miroslav Lachman <000.fbsd@quip.cz>: > On 22/09/2021 22:50, grarpamp wrote: >>> propose to make it the default shell for root starting FreeBSD 14.0-RELEASE >> >> Make it so. >> >> The whole rest of rc, pkg, base scripts and subsystems use a lot of >> sh, not csh. >> So this is a good compatibility, consistancy, and gotcha-removing update, >> needed for decades. >> >> Even "bash" is a majority spoken shell in Linux/world, helping >> make crossovers if BSD becomes a bit more bash-like. > > More bashism and linuxism in BSD world, you are waking the devil. > >> The bsd sh feature updates are filling useful/needed capability gaps. > > Moving to sh without maintain the same history search behavior > (start of the command and Up & Down arrows) are like cutting one leg. > > The (t)csh is what I really like on every FreeBSD machine. Never > seen good configured bash (prompt + history search) on any other OS > I ever visited. Not saying it is not possible but if FreeBSD will > switch default shell to something else I expect to do it the way > that it is more user friendly and powerful than on other OSes where > everything is leaved to "users can customize it". Current state of > sh behavior is really that "bad" way. we are talking of the default sehll for the root user. One does not really work as root user, but if son nothing stops who ever wants to to exec zsh or exec tcsh? Whoever wants is free to add other users with root pemissions is free to do so. Rolf M Dietze