[NTLUG:Discuss] Re: SuSE 9 or 9.1 PATH environment changes after su
Bryan J. Smith
b.j.smith at ieee.org
Sun Sep 12 10:01:18 CDT 2004
On Sat, 2004-09-11 at 14:26, Stephen Davidson wrote:
> steve at blue:~> echo $PATH
> /home/steve/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin
> steve at blue:~> su
> Password:
> blue:/home/steve # echo $PATH
> /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin
> blue:/home/steve #
> Paths are different.
Most of my experience is with SLSS/SLES 8.
Is this a change in 9?
If so, maybe SuSE is not using an alias, but another approach.
The alias is just the most common I've seen (e.g., Mandrake)
As such, on SuSE Linux 9.x, what do you get from:
$ su -
# echo $PATH
As well as,
$ which su
Just curious. Thanx.
-- Bryan
P.S. I consider changing the PATH by default quite "broken" from a
traditional UNIX/Linux standpoint. It would _screw_up_ a lot of the
usage/scripts I use.
--
Bryan J. Smith b.j.smith at ieee.org
------------------------------------------------------------------
"Communities don't have rights. Only individuals in the community
have rights. ... That idea of community rights is firmly rooted
in the 'Communist Manifesto.'" -- Michael Badnarik
More information about the Discuss
mailing list