From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,2343185fb6aaee17 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!news.compaq.com!news.cpqcorp.net!usenet01.boi.hp.com!not-for-mail From: Brian Haley Newsgroups: comp.unix.tru64 Subject: Re: hostname Date: Fri, 02 Mar 2007 12:07:20 -0500 Organization: Hewlett-Packard Company Message-ID: References: <12uge581lruev9b@corp.supernews.com> NNTP-Posting-Host: spaceshipone.zko.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet01.boi.hp.com 1172855240 3425 16.116.114.13 (2 Mar 2007 17:07:20 GMT) X-Complaints-To: news@usenet01.boi.hp.com NNTP-Posting-Date: Fri, 2 Mar 2007 17:07:20 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20070103) In-Reply-To: <12uge581lruev9b@corp.supernews.com> Xref: g2news2.google.com comp.unix.tru64:657 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