Re: [SLUG] hostname won't stick

From: Russell Hires (rhires@earthlink.net)
Date: Tue Oct 22 2002 - 07:39:49 EDT


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

There's another file called...well..../etc/hostname that you have to use to
set your host's name. Then it will show up when you boot...
Your hosts file is for basic dns type name lookups.

HTH

Russell

On Monday 21 October 2002 23:32 pm, you wrote:
> I'm using RH7.1.
>
> I type at the shell prompt:
> hostname mynewhostname
> ypdomainname mynewhostname
>
> /etc/hosts has:
> 127.0.0.1 mynewhostname
>
> Why is it when I reboot, I lose the mynewhostname name? It does back
> to localhost.local.
>
> /mario

- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9tTkKAqKGrvVshJQRAhprAJ9pVB/yqisXg9G6hyK3MZDLiN+86gCfSBy4
cZWhHmPpJErxihRXdpyyVzQ=
=/nuL
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:31:15 EDT