hesinfo -- find out what is stored in the Hesiod database
hesinfo [-bl] HesiodName HesiodNameType
The hesinfo utility takes two arguments, a name to be resolved and a
string, known as a HesiodNameType. It then prints the information
returned by the Hesiod nameserver.
The value returned by hesinfo is of the type HesiodNameType.
The following options are available:
-l Selects long format.
-b Prints the fully-qualified string passed to the nameserver.
VALID Hesiod_Names [Toc] [Back]
The following types of identifiers may be used in the HesiodName argument
to hesinfo. These values will be resolved by accessing the hesiod(3)
the 8-character-or-less string used to identify users or classes
(e.g. joeuser, root, 1.00, etc). Used with the Hesiod_Name_Types
passwd, pobox, and filsys.
<uid> the id number assigned to a user.
the id number assigned to a group.
a name identifying a unique group.
the name of an Athena file system.
the name of an rvd's server and pack separated by a colon.
the name of an NFS server and its partition separated by a colon.
the machine name of an Athena workstation (e.g. E40-343-3).
name of an Athena service (e.g. Zephyr).
name of UNIX service (valid entries are defined in
name of a printer.
name of an Athena print cluster.
<foo> some hesinfo calls (e.g. prclusterlist) do not require a specific
HesiodName argument. However, you must include a dummy string
(e.g. `foo') for hesinfo to work properly.
VALID Hesiod_Name_Types [Toc] [Back]
The following symbols are valid substitutions for the HesiodNameType
argument to hesinfo.
passwd returns string suitable for inclusion in /etc/passwd, searching
pobox returns information on the pobox assigned to the user specified
by HesiodName, searching with <username>.
uid returns string suitable for inclusion in /etc/passwd, searching
gid returns string suitable for inclusion in /etc/group, searching
group returns string suitable for inclusion in /etc/group, searching
returns subgroups included in superset defined by <groupname>.
filsys returns file system type, export point, server, mount mode, and
import point for the following valid HesiodNames (see above) -
<file-system-name>, <username>, <rvd-server>:<pack>, and
returns information about the local cluster the workstation,
specified by <workstation-name>. Included is information about
the local file and print servers. This information is accesses
by clusterinfo at boot time.
sloc returns network name of service host for <service-name>.
returns Internet protocol type and protocol service port for
pcap returns a valid entry for /etc/printcap for <printer-name>.
returns a list of print clusters.
returns a list of printers in a cluster specified by
Hesiod - Project Athena Technical Plan -- Name Service.
Steve Dyer, IBM/Project Athena
Copyright 1987, 1988, 1996 by the Massachusetts Institute of Technology.
FreeBSD 5.2.1 October 27, 1996 FreeBSD 5.2.1 [ Back ]