Re: [openssh-commits] [openssh] 02/02: upstream: hostname is not specified by POSIX but uname -n is, so use

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

 



On Sun, Feb 7, 2021 at 10:21 PM Tim Rice <tim@xxxxxxxxxxxxxxxx> wrote:
>
> On Sun, 7 Feb 2021, Bob Proulx wrote:
>
> >     rwp@havoc:~$ hostname
> >     havoc
> >
> > Getting a FQDN is truly not trivial. :-(
>
> True, and some hostname (ubuntu, centos, etc) implimentations have
> "hostname -f" for the FQDN.

It's especially aggravated by many configuration tools listing the
short hostname first, then the full hostname, in /etc/hosts. i.e.:

    127.0.0.1 short.long.com short localhost.localdomian localhost
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux