Why use "su -" rather than "su"
Claude Jones
claude_jones at levitjames.com
Sun Jul 17 16:36:30 UTC 2005
On Sun July 17 2005 12:27 pm, Tony Nelson wrote:
> At 2:13 AM -0500 7/17/05, John Bray wrote:
> >here's a classic case of how to realllly screw up. su - to root. echo
> >$PATH note that some dolt has managed to set root's path to include
> >/usr/local/bin BEFORE the official sbins! want to guess how this
> >stupidity is eventually going to bite us all? :-(
>
> Mine isn't quite so bad, but it does turn out to have the pattern
> "foo/sbin", "foo/bin". I expect that you're saying that it should be all
> sbins, then the bins. I think I'll change it to that.
Still a new user here - could you explain how the PATH is edited?
--
Claude Jones
Bluemont, VA, USA
More information about the fedora-list
mailing list