[PLUG] where is the hostname set in rh9

Marc marcm at dsl-only.net
Thu Oct 9 08:48:02 UTC 2003


On Thu 10/ 9/03  8:35, Rich Shepard wrote:
> On Thu, 9 Oct 2003, Mike De La Mater wrote:
> 
> > I typo'd while setting the hostname of a recent install, and the hostname
> > is hosed.
> >
> > I've set the hostname in /etc/hostname, but that would be too easy.
> 
>   Well, that does it. Or, you can use the hostname command to change it.
> Same results. See 'man hostname'.

I was thinking this was set using the "HOSTNAME=" line in the file

    /etc/sysconfig/network

which is then used by the system startup script

    /etc/rc.d/rc.sysinit

at boot time.

Hope this helps.

Marc

-- 
No sig here




More information about the PLUG mailing list