-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Elliot Peele wrote:

>you need to edit the /etc/sysconfig/network file with your favorite editor 
>and cahnge the host name there. for it to take effect you will need to 
>restart network services by either service network reststart or 
>/etc/rc.d/init.d/network restart

Even then, you won't see a change at the console until you do:

# hostname <newhostname>

Which reminds me, hostname is another one of those utilities you want to 
be very careful with if you work with more than one platform.  This:

# hostname -i

in Linux, gives you whatever it considers to be your primary IP address.  
Sorta unpredictable, since it sometimes thinks that's 127.0.0.1, and
sometimes thinks it's the address of the external interface.  But try
that on Solaris, and scratch your head wondering why everything seems to
be suddenly broken ... until you realize that you just set the machine's
hostname to be "-i".

Not funny.  Ask me about it sometime over a beer.

Even less funny is killall ... somebody really needs to be slapped for
giving it such a benign personality on Linux.  Try it as root on Solaris
sometime and watch the fun.  But I think I digress ...

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPKK4mb9BpdPKTBGtEQIJAACglThMjwt3LvilbYgbaDzDfjSBorYAoK6n
8qdv7nSQPp9oYl+dpOu+c2mu
=st+g
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to