[NTLUG:Discuss] Re: SuSE 9 or 9.1 PATH environment changes after su
Bryan J. Smith
b.j.smith at ieee.org
Fri Sep 10 04:52:37 CDT 2004
On Fri, 2004-09-10 at 00:44, Ralph Green, Jr wrote:
> Howdy,
> Another list member has told me off-list that he does not believe me
> when I told him that the PATH environment variable changed after I did
> an su to root. I tried this on SuSE 9 and 9.1 and I did not pass any
> parameters to the su command(i.e., su, not su -). Can anyone else here
> tell me what their SuSE system does? If you have tweaked your system to
> change this behavior from it's default, then please tell me that, too.
> Good day,
> Ralph
I said the command must be aliased on whatever distribution he is using.
I think Mandrake aliases "su" to "su -" by default.
I am very curious to see the results of:
alias | grep su
On different distributions as both a regular and superuser.
-- Bryan
P.S. Mr. Green asserts that Red Hat is "broken" because it does not
alias "su" to "su -" by default.
--
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