SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:34 AM
heylow
 
Posts: n/a
Default uname -n, fqdn

On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?

Thanks, P.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:34 AM
Greg Andrews
 
Posts: n/a
Default Re: uname -n, fqdn

heylow <[email protected]> writes:
>On 5.8, when I run uname -n or hostname, I get non-qualified name. On
>5.10, I get FQDN for the same. Is there any setting that can change
>the behavior to non-qualified name?
>


Have you compared the /etc/nodename files on 5.8 and 5.10?

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:34 AM
heylow
 
Posts: n/a
Default Re: uname -n, fqdn

On Sep 22, 12:18 am, [email protected] (Greg Andrews) wrote:
> heylow <[email protected]> writes:
> >On 5.8, when I run uname -n or hostname, I get non-qualified name. On
> >5.10, I get FQDN for the same. Is there any setting that can change
> >the behavior to non-qualified name?

>
> Have you compared the /etc/nodename files on 5.8 and 5.10?


They are different: on 5.10, it is fqdn; on 5.8, it is just short
name. I manually edited /etc/nodename on 5.10 to short name; it didn't
help

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 10:34 AM
Greg Andrews
 
Posts: n/a
Default Re: uname -n, fqdn

heylow <[email protected]> writes:
>On Sep 22, 12:18 am, [email protected] (Greg Andrews) wrote:
>> heylow <[email protected]> writes:
>> >On 5.8, when I run uname -n or hostname, I get non-qualified name. On
>> >5.10, I get FQDN for the same. Is there any setting that can change
>> >the behavior to non-qualified name?

>>
>> Have you compared the /etc/nodename files on 5.8 and 5.10?

>
>They are different: on 5.10, it is fqdn; on 5.8, it is just short
>name. I manually edited /etc/nodename on 5.10 to short name; it didn't
>help
>


Is that all you did, edit the file? You didn't reboot or update the kernel
with uname -S?

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati<a rel="nofollow" href="http://furl.net/storeIt.jsp?u=http%3A%2F%2Funixadmintalk.com%2Ff5%2Funame-n-fqdn-37168%2F%23