https://bugzilla.novell.com/show_bug.cgi?id=657032 https://bugzilla.novell.com/show_bug.cgi?id=657032#c0 Summary: $HOSTNAME differs when logged in as root Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: propstmatthias@googlemail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 FireDownload/2.0.1 Firefox/3.6.12 When i am logged in as normal user on the commandline and type echo $HOSTNAME or echo $HOST it will return Marvin, which is my Hostname. However if i log in as root and use the $HOST or the $HOSTNAME variable i get "localhost" Reproducible: Always Steps to Reproduce: 1.echo $HOST 2.login as root 3.echo $HOST Actual Results: logged in as User: echo $HOST Result: Marvin logged in as Root: echo $HOST Result: localhost Expected Results: Should display The given hostname as root and as as user. in my case this is Marvin. -- 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.