[kwlug-disc] Debian problem

John Sellens jsellens at syonex.com
Mon May 6 16:27:47 EDT 2024


On the machines I control, the sudoers file says (amongst other things):

    # Ugly per-user defaults - John is very particular
    Defaults:jsellens        !set_logname
    Defaults:jsellens        !always_set_home
    Defaults:jsellens        !env_reset

I keep my environment, and the root shell reads my .bashrc (.cshrc)
file for all my aliases, special prompt string for root, etc.

John


On Mon, 2024/05/06 03:29:58PM -0400, Peter Melse Execulink <peter_melse at gto.net> wrote:
| In the past I've needed sudo -E to preserve environment variables for things
| like $PATH



More information about the kwlug-disc mailing list