https://bugzilla.novell.com/show_bug.cgi?id=657032
https://bugzilla.novell.com/show_bug.cgi?id=657032#c6
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
--- Comment #6 from Dr. Werner Fink 2010-12-07 15:22:57 UTC ---
And I close this, please be aware that su with `-' removes your
environment and if su drops HOSTNAME and HOST and the bash as
root shell sets HOSTNAME to localhost instead of using the
short hostname your configuration is broken. The variable
HOST is set to the output of `uname -n'.
info su:
`-'
`-l'
`--login'
Make the shell a login shell. This means the following. Unset all
environment variables except `TERM', `HOME', and `SHELL' (which
are set as described above), and `USER' and `LOGNAME' (which are
set, even for the super-user, as described above), and set `PATH'
to a compiled-in default value. Change to USER's home directory.
Prepend `-' to the shell's name, intended to make it read its
login startup file(s).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.