khostname(8)khostname(8)NAMEkhostname - Displays the fully qualified domain name required for
building principal names and configuration files
Displays the fully qualified domain name (FQDN) of the specified system
hostname. Any aliases are resolved to the host name.
The khostname command returns the fully qualified domain name required
for building principal names and configuration files. The names
returned by khostname are used in the krb.conf and krb.realms files.
Host names are a critical element in a Kerberos Single Sign-On (SSO)
environment. Host names are used to build principal names. Principal
names must match exactly across the network for SSO to work correctly.
Files: krb.conf(4), krb.realms( 4)