Subject: Re: build.sh breakage?
To: haad <email@example.com>
From: Sarton O'Brien <firstname.lastname@example.org>
Date: 03/27/2007 10:17:23
On Tue, 27 Mar 2007 08:35:14 am haad wrote:
> > There are a lot of other ways a root user can shoot themselves in the
> > foot! Do you type 'su root' or 'su - root', if the former you are much
> > more likely to hit problems.
> Can you explain it little bit more. I use "su root" mostly so I want how
> can I reach problems. I don't have "." in my $PATH :).
'su -' is a full root login, not maintaining any elements of the previous user
environment that may allow accidental execution of insidious or arbitrary
code (assuming your root environment is sane).
It's also a hell of a lot easier to access everything you need as root :)
I think '-' is an abreviation from memory ... there is possibly a '-l' ?
Haven't manned su for a while.