hostid(1C) DG/UX R4.11MU05 hostid(1C)
NAME
hostid - set or print identifier of host system
SYNOPSIS
hostid [ identifier ]
DESCRIPTION
The hostid command (without an argument) prints the identifier of the
current host in hexadecimal. This numeric value is expected to be
unique across all hosts and is normally set to the host's Internet
address. A user with appropriate privilege (See NOTES, below) can
set the hostid by specifying identifier as an argument. The
parameter required at boot time is defined in
/etc/tcpip.params
and is used in
/usr/sbin/init.d/rc.tcpipport.
EXAMPLE
To specify a host with Internet address 128.211.10.4:
hostid 80d30a04
SEE ALSO
hostname(1C), gethostid(2), sethostid(2), hostname(5),
appropriateprivilege\f1(5).
NOTES
Most programs look up the host name in the hostname database, rather
than use hostid.
On a generic DG/UX system, appropriate privilege is granted by having
an effective UID of 0 (root). See the appropriateprivilege(5) man
page for more information.
On a system with DG/UX information security, appropriate privilege is
granted by having one or more specific capabilities enabled in the
effective capability set of the user. See the capdefaults(5) man
page for the default capabilities for this command.
Licensed material--property of copyright holder(s)