Web lists-archives.com

Re: Why /usr/sbin is not in my root $PATH ?

On Sat, 2019-02-23 at 15:27 +0100, Mart van de Wege wrote:
> Greg Wooledge <wooledg@xxxxxxxxxxx> writes:
> > 
> > The problem with "su -" is that it strips out *all* of your
> > environment,
> That's a feature, not a bug. You *don't* want to import Joe Random
> User's environment into root's.

But it's not Joe Random User, it's Joe Sysadmin - unless you're in the
habit of giving root's password to everyone.