Re: hostname -- how is it set?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-05-07 at 18:03, Geoff Rainey wrote:
> You are correct, change the file:
> 
> /etc/sysconfig/network to the hostname of your machine to the following
> configuration:
> 
> hostname.domain as for instance -
> 
> "HOSTNAME=server1.redhat.com"
> 

Thanks - worked like a champ. At first I was expecting the change to
take effect with "/etc/init.d/network restart" but since
sysconfig/network is processed in rc.sysinit it takes effect on reboot.
So, seems like the procedure is

a) use hostname to change the name immediately, and
b) modify /etc/sysconfig/network to make it permanent.




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux