Who Command Does not Resolve the Hostname - Solaris 11.4
(Doc ID 2557862.1)
Last updated on NOVEMBER 27, 2020
Applies to:Solaris Operating System - Version 11.4 and later
Information in this document applies to any platform.
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)
Why who doesn't return the FQDN in Solaris 11.4 ?
oracle pts/2 May 28 04:31 (10.xxx.xxx.xxx)
Nslookup properly resolving the name
root@solaris:~# nslookup 10.xxx.xxx.xxx
200.192.xxx.xxx.xxx.in-addr.arpa name = xxxxxx.yyyyyyy.oracle.com.
root@solaris:~# pkg list entire
NAME (PUBLISHER) VERSION IFO
entire 11.4-18.104.22.168.1.5.0 i--
Before OpenSSH 6.8 the default was to record hostname in /etc/utmpx from where who -a command will print the string. Now the utmpx field stores ip addresses, not hostnames.
Recording the IP address is superior from a security perspective.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document