from: #Id: hesinfo.1,v 1.9 1996/11/07 01:57:12 ghudson Exp #
Copyright 1987, 1996 by the Massachusetts Institute of Technology.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation, and that the name of M.I.T. not be used in
advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
M.I.T. makes no representations about the suitability of
this software for any purpose. It is provided "as is"
without express or implied warranty.
$FreeBSD: releng/10.3/usr.bin/hesinfo/hesinfo.1 141580 2005-02-09 18:07:17Z ru $
.Dd October 27, 1996 .Dt HESINFO 1 .Os .Sh NAME .Nm hesinfo .Nd "find out what is stored in the Hesiod database" .Sh SYNOPSIS .Nm .Op Fl bl .Ar HesiodName HesiodNameType .Sh DESCRIPTION The .Nm utility takes two arguments, a name to be resolved and a string, known as a .Ar HesiodNameType . It then prints the information returned by the Hesiod nameserver.
p The value returned by .Nm is of the type .Ar HesiodNameType .
p The following options are available: l -tag -width indent t Fl l Selects long format. t Fl b Prints the fully-qualified string passed to the nameserver. .El .Ss VALID Hesiod_Names The following types of identifiers may be used in the .Ar HesiodName argument to .Nm . These values will be resolved by accessing the .Xr hesiod 3 database. l -tag -width indent t Aq Ar username the 8-character-or-less string used to identify users or classes (e.g. joeuser, root, 1.00, etc). Used with the .Ar Hesiod_Name_Types .Cm passwd , .Cm pobox , and .Cm filsys . t Aq Ar uid the id number assigned to a user. t Aq Ar groupid the id number assigned to a group. t Aq Ar groupname a name identifying a unique group. t Aq Ar file-system-name the name of an Athena file system. t Xo .Ao Ar "rvd-server" Ac : Ns Aq Ar pack .Xc the name of an rvd's server and pack separated by a colon. t Xo .Ao Ar "nfs-server" Ac : Ns Aq Ar partition .Xc the name of an .Tn NFS server and its partition separated by a colon. t Aq Ar workstation-name the machine name of an Athena workstation (e.g. E40-343-3). t Aq Ar service-name name of an Athena service (e.g. Zephyr). t Aq Ar service-type name of x service (valid entries are defined in
a /etc/services ) . t Aq Ar printer-name name of a printer. t Aq Ar printer-cluster-name name of an Athena print cluster. t Aq Ar foo some .Nm calls (e.g.\& .Cm prclusterlist ) do not require a specific .Ar HesiodName argument. However, you must include a dummy string (e.g.\& .Ql foo ) for .Nm to work properly. .El .Ss VALID Hesiod_Name_Types The following symbols are valid substitutions for the .Ar HesiodNameType argument to .Nm . l -tag -width indent t Cm passwd returns string suitable for inclusion in
a /etc/passwd , searching with .Aq Ar username . t Cm pobox returns information on the pobox assigned to the user specified by .Ar HesiodName , searching with .Aq Ar username . t Cm uid returns string suitable for inclusion in
a /etc/passwd , searching with .Aq Ar uid . t Cm gid returns string suitable for inclusion in
a /etc/group , searching with .Aq Ar groupid . t Cm group returns string suitable for inclusion in
a /etc/group , searching with .Aq Ar groupname . t Cm grplist returns subgroups included in superset defined by .Aq Ar groupname . t Cm filsys returns file system type, export point, server, mount mode, and import point for the following valid .Ar HesiodNames (see above) - .Aq Ar "file-system-name" , .Aq Ar username , .Ao Ar "rvd-server" Ac : Ns Aq Ar pack , and .Ao Ar "nfs-server" Ac : Ns Aq Ar partition . t Cm cluster returns information about the local cluster the workstation, specified by .Aq Ar "workstation-name" . Included is information about the local file and print servers. This information is accesses by .Sy clusterinfo at boot time. t Cm sloc returns network name of service host for .Aq Ar service-name . t Cm service returns Internet protocol type and protocol service port for .Aq Ar service-type . t Cm pcap returns a valid entry for
a /etc/printcap for .Aq Ar printer-name . t Cm prcluserlist returns a list of print clusters. t Cm prcluster returns a list of printers in a cluster specified by .Aq Ar printer-cluster-name . .El .Sh FILES l -tag -width /etc/hesiod.conf t Pa /etc/hesiod.conf .El .Sh SEE ALSO .Xr hesiod 3 , .Xr named 8 .Rs .%T "Hesiod - Project Athena Technical Plan -- Name Service" .Re .Sh AUTHORS .An Steve Dyer , IBM/Project Athena
p Copyright 1987, 1988, 1996 by the Massachusetts Institute of Technology.