[kwlug-disc] Debian problem

Peter Melse Execulink peter_melse at gto.net
Mon May 6 15:29:58 EDT 2024


In the past I've needed sudo -E to preserve environment variables for 
things like $PATH

has anyone seen a write-up as to the changes in ubuntu 24.04 in regards 
to the default sudo config?

On 2024-05-06 15:03, John Sellens wrote:
> Glad you got in - I was going to suggest trying "su".
>
> BTW, constructs like "sudo su -" and "sudo bash" may have had their
> convenient place (more than a few) years ago, but these days, you
> likely want
>
>      sudo -s
>
> The whole "sudo su -" trope confuses me - it's like someone tried
> random things, something "worked", and the cargo cult took over.
>
> Cheers!
>
> John
>
> On Mon, 2024/05/06 09:38:59AM -0400, CrankyOldBugger <crankyoldbugger at gmail.com> wrote:
> | I admit I never really cared about the differences between sudo su -, sudo
> | bash, su -, and the various other incantations.  sudo su - has always
> | worked for me, until today...
>
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.



More information about the kwlug-disc mailing list