Re: hostname -- how is it set?

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

 



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"

On Sat, 2004-05-08 at 08:08, Robert C Paulsen Jr wrote:
> Hello,
> 
> What configuration file must I edit to change the system's hostname?
> 
> I know I can issue the hostname command, but I want to make whatever
> change is needed so that the change will be effective after subsequent
> reboots.
> 
> I found HOSTNAME in /etc/sysconfig/network, but it is set to
> localhost.localdomain which does NOT match then output from the hostname
> command.
> 
> 
> 


-- 
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