From nobody Fri Nov 17 18:50:48 2023 X-Original-To: freebsd-stable@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 4SX5b15tg9z51GWH for ; Fri, 17 Nov 2023 18:51:09 +0000 (UTC) (envelope-from jfadams1963@proton.me) Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SX5b13htnz3Cs9 for ; Fri, 17 Nov 2023 18:51:09 +0000 (UTC) (envelope-from jfadams1963@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1700247065; x=1700506265; bh=mmNGojhJ9XpXM0pBMDLR8LWrFUKym9UhJZxkAyOtiPw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MjSBtVidX+NsZnWrHTHdP/n8JTRB05WqMRx5uAyZNl7eVxIEC90aFfRwhvdAIsZ94 W6+sORom0eUTmfeXqXlTpHXsQ9lGVV64O4Hav2w48s+zySrryRtoD/wQBy1xq4TzHB PDWy0sz+PZWzuKB9VoIMvbM43wvGz9YU+6/r2Sa+qYpFK0B7493cTSR0qJRvbdSuD2 bUTYSWb0LmsdgRTjCvcHoGC5h6DpErg5vPAOV6sSxWnIh1KWrZ+GzkyVFDHFnVWqPS qAJKL+W8C/VHjuJh2up3v0alrdcof1EL7eff5Q5ALegucl+/CT1ITKR31z2qLcqS/I 04/9o+WqZKw6A== Date: Fri, 17 Nov 2023 18:50:48 +0000 To: mike tancsa From: Jonathan Adams Cc: FreeBSD-STABLE Mailing List Subject: Re: csh to sh migration for root in RELENG_14 Message-ID: In-Reply-To: <6c6add3c-4a5e-4d84-9964-9a9448a36c95@sentex.net> References: <6c6add3c-4a5e-4d84-9964-9a9448a36c95@sentex.net> Feedback-ID: 80741059:user:proton List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------01d8d5240eeeda059b7308a8dc9475a1cd44516b060529819bafe05b5db1578c"; charset=utf-8 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] X-Rspamd-Queue-Id: 4SX5b13htnz3Cs9 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------01d8d5240eeeda059b7308a8dc9475a1cd44516b060529819bafe05b5db1578c Content-Type: multipart/mixed;boundary=---------------------f33406cd2aef55375a07d425702f5fed -----------------------f33406cd2aef55375a07d425702f5fed Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Friday, November 17th, 2023 at 1:40 PM, mike tancsa w= rote: > I am trying to bring my environment along from previous versions where > csh was the default shell and now trying to get used to sh. In the past > things like > = > sudo su > = > would pick up my settings in /root/.cshrc automatically. However, with > sh I have to do > = > sudo su -l root > = > Is there a way to configure it so I dont need the -l as part of the su > to get the same behavior ? $ sudo su - -Jonathan Adams ____________________________________________ "Before Turing, things were done to numbers. After Turing, numbers began doing things" - George Dyson -----------------------f33406cd2aef55375a07d425702f5fed-- --------01d8d5240eeeda059b7308a8dc9475a1cd44516b060529819bafe05b5db1578c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmVXteYJkI6O/sbt8r3IFiEEcBGzOO9wDbcpT/10jo7+xu3y vcgAAPIkAQCIGYV7D3VYrFP2tvjZN9fTz4KuUqezCV0ZMvTqKfVP3QD9E1Nv p6orJlMuq7iyG6yg0YBJV3ef6415ZwZLnnbnLwQ= =4si4 -----END PGP SIGNATURE----- --------01d8d5240eeeda059b7308a8dc9475a1cd44516b060529819bafe05b5db1578c--