[CentOS-docs] Possible problem with "managing software with yum" documentation.

George R Goffe grgoffe at yahoo.com
Sun Sep 23 18:52:23 UTC 2007


Howdy,

I'm reading your managing software with yum document and wanted to point out that
there could be a problem with the examples that show 'su -c" some command"'. 

Su without the "-" or "- root" (e.g., "su -" or "su - root") will allow current
environment settings to be inherited by the new root shell. This could lead to
disaster if some root functions require specific settings that are NOT correct in
the previous non-root environment.

Regards,

George...


=====
    _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/   _/_/_/_/ _/_/_/_/ -----
   _/       _/       _/    _/ _/    _/ _/       _/
  _/  _/_/ _/_/_/_/ _/    _/ _/_/_/   _/  _/_/ _/_/_/_/ -----
 _/    _/ _/       _/    _/ _/   _/  _/    _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/    _/ _/_/_/_/ _/_/_/_/ -----
"It's not what you know that hurts you, It's what you know that ain't so." Will Rogers


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


More information about the CentOS-docs mailing list