SuSE 7.3 sparc64

der.hans plug-discuss@lists.plug.phoenix.az.us
Wed, 26 Jun 2002 13:45:45 -0700 (MST)


Am 26. Jun, 2002 schwätzte slr so:

> I installed SuSE 7.3 on my Sun Ultra 5, and my current issue is changing my
> hostname without using YaST. i made the change in /etc/hosts and
> /etc/HOSTNAME, but there seems to be another file, or other files that
> contain the real hostname. so editing /etc/hosts or /etc/HOSTNAME have no
> effect on the machines hostname. just a little curious as to where the "Real
> Hostname" is located. BTW this is my first time really working with SuSE, RH
> and MDK have been my flavors of choice.

Use the hostname command to change the active hostname.

rgrep for the hostname in etc. You should find that at least your MTA has
the hostname hard-coded as well.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/
# Passwords are like underwear. You don't share them, you don't hang them on
# your monitor, or under your keyboard, you don't email them, or put them on
# a web site, and you must change them very often. -- Unknown