Re: uname -n, fqdn On Sep 23, 2:50 am, g...@panix.com (Greg Andrews) wrote:
> heylow <vnr1...@gmail.com> writes:
> >On Sep 22, 12:18 am, g...@panix.com (Greg Andrews) wrote:
> >> heylow <vnr1...@gmail.com> 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?
I did with uname -S, now it worked. Thanks, P. |