genhostid man page

genhostid — generate and set a hostid for the current host

Description

genhostid generates a random hostid and stores it in /etc/hostid, if /etc/hostid does not already exist.

See Also

hostid(1), gethostid(2), sethostid(2)

Info