Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: su vs. su -l



I recently read the man page (first time for everything) and discovered the
"-l" switch for su, which gives me the environment of that user. Very
useful (especially for the PATH).

What I can't work out is why this is not the default behaviour (with a flag
to explicitly say you don't want their environment). Is there some
disadvantage to "su -l" and "su -l someuser"? Some security issue?

Darren

--------------------------------------------------------------------
Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan
* Topic: "What's new in Perl 5.6"
Guest speaker: Simon Cozens (TLUG Perl guru)
Next Nomikai Meeting: April 20 (Thu) Linux Conference 2000 Spring Ed.
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links