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

George R Goffe
Sun, 23 Sep 2007 18:52:25 -0000

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.