Re: csh to sh migration for root in RELENG_14

From: Dr. Nikolaus Klepp <dr.klepp_at_gmx.at>
Date: Fri, 17 Nov 2023 19:00:02 UTC
Anno domini 2023 Fri, 17 Nov 13:56:36 -0500
 mike tancsa scripsit:
> On 11/17/2023 1:50 PM, Jonathan Adams wrote:
> > $ sudo su -
> 
> 
> Thanks, but I am hoping to be able to just
> 
> sudo su
> 
> on all boxes I manage, RELENG_12 through 14.  I know its a minor 
> annoyance, but I would like to avoid the inconsistent key strokes.
> 
>      ---Mike
> 
you might want to place an alias in your .shrc like

alias su=su - 

Nik


-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...