From: Brian Haley <brian.haley@nospam_hp.com>
Subject: Re: hostname
Date: Fri, 02 Mar 2007 12:07:20 -0500 [thread overview]
Message-ID: <es9lk8$3b1$1@usenet01.boi.hp.com> (raw)
In-Reply-To: <12uge581lruev9b@corp.supernews.com>
pp wrote:
> I am using 5.1A, the hostname shows only the hostname without domain
> name. but in /etc/rc.config file, I have defined
> HOSTNAME="abc.domain.com"
>
> #hostname only shows "abc".
>
> Can anyone tell me what makes that issue? and where in the system file I
> can change hostname return abc.domain.com?
If you've changed /etc/rc.config, but not rebooted or restarted the
network, then the change hasn't taken affect. You can simply run:
# hostname abc.domain.com
which will set the hostname on the system.
You might also want to check that hostname isn't an alias for 'hostname -s'.
-Brian
prev parent reply other threads:[~2007-03-02 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-02 14:45 hostname pp
2007-03-02 17:07 ` Brian Haley [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox