xref: /netbsd-src/usr.bin/hesinfo/hesinfo.1 (revision d581e5080278e5e3b5343cb709a73f3f61374d25)
1*d581e508Swiz.\"	$NetBSD: hesinfo.1,v 1.9 2003/11/12 12:33:13 wiz Exp $
2caa21206Slukem.\"
3caa21206Slukem.\" from: #Id: hesinfo.1,v 1.9 1996/11/07 01:57:12 ghudson Exp #
4caa21206Slukem.\"
5caa21206Slukem.\" Copyright 1987, 1996 by the Massachusetts Institute of Technology.
6caa21206Slukem.\"
7caa21206Slukem.\" Permission to use, copy, modify, and distribute this
8caa21206Slukem.\" software and its documentation for any purpose and without
9caa21206Slukem.\" fee is hereby granted, provided that the above copyright
10caa21206Slukem.\" notice appear in all copies and that both that copyright
11caa21206Slukem.\" notice and this permission notice appear in supporting
12caa21206Slukem.\" documentation, and that the name of M.I.T. not be used in
13caa21206Slukem.\" advertising or publicity pertaining to distribution of the
14caa21206Slukem.\" software without specific, written prior permission.
15caa21206Slukem.\" M.I.T. makes no representations about the suitability of
16caa21206Slukem.\" this software for any purpose.  It is provided "as is"
17caa21206Slukem.\" without express or implied warranty.
18*d581e508Swiz.Dd October 27, 1996
19*d581e508Swiz.Dt HESINFO 1
20*d581e508Swiz.Os
21*d581e508Swiz.Sh NAME
22*d581e508Swiz.Nm hesinfo
23*d581e508Swiz.Nd find out what is stored in the Hesiod database
24*d581e508Swiz.Sh SYNOPSIS
25*d581e508Swiz.Nm
26*d581e508Swiz.Op Fl bl
27*d581e508Swiz.Ar HesiodName
28*d581e508Swiz.Ar HesiodNameType
29*d581e508Swiz.Sh DESCRIPTION
30*d581e508Swiz.Nm
31caa21206Slukemtakes two arguments, a name to be resolved and a string, known
32*d581e508Swizas a
33*d581e508Swiz.Ar HesiodNameType .
34be8ae688SgrantIt then prints the information returned by
35caa21206Slukemthe Hesiod nameserver.
36*d581e508Swiz.Pp
37caa21206SlukemThe value returned by
38*d581e508Swiz.Nm
39caa21206Slukemis of the type
40*d581e508Swiz.Ar HesiodNameType .
41*d581e508Swiz.Pp
42*d581e508Swiz.Nm
43caa21206Slukemunderstands the following options:
44*d581e508Swiz.Bl -tag -width XX -offset indent
45*d581e508Swiz.It Fl l
46caa21206SlukemSelects long format.
47*d581e508Swiz.It Fl b
48caa21206SlukemPrints the fully-qualified string passed to the nameserver.
49*d581e508Swiz.El
50*d581e508Swiz.Ss VALID Hesiod_Names
51caa21206SlukemThe following types of identifiers may be used in the
52*d581e508Swiz.Ar HesiodName
53caa21206Slukemargument to
54*d581e508Swiz.Nm .
55caa21206SlukemThese values will be resolved by accessing the
56*d581e508Swiz.Xr hesiod 3
57caa21206Slukemdatabase.
58*d581e508Swiz.Bl -tag -width XnfsXserverX:XpartitionXX
59*d581e508Swiz.It Aq username
60caa21206Slukemthe 8-character-or-less string used to identify users or classes
61caa21206Slukem(e.g. joeuser, root, 1.00, etc).
62caa21206SlukemUsed with the
63*d581e508Swiz.Ar Hesiod_Name_Types
64*d581e508Swiz.Dv passwd ,
65*d581e508Swiz.Dv pobox ,
66caa21206Slukemand
67*d581e508Swiz.Dv filsys .
68*d581e508Swiz.It Aq uid
69caa21206Slukemthe id number assigned to a user.
70*d581e508Swiz.It Aq groupid
71caa21206Slukemthe id number assigned to a group.
72*d581e508Swiz.It Aq groupname
73caa21206Slukema name identifying a unique group.
74*d581e508Swiz.It Aq file-system-name
75caa21206Slukemthe name of an athena file system.
76*d581e508Swiz.It Ao rvd server Ac Ns : Ns Aq pack
77a9356936Swizthe name of an rvd's server and pack separated by a colon.
78*d581e508Swiz.It Ao nfs server Ac Ns : Ns Aq partition
79a9356936Swizthe name of an nfs server and its partition separated by a colon.
80*d581e508Swiz.It Aq workstation-name
81caa21206Slukemthe machine name of an Athena workstation (e.g. E40-343-3).
82*d581e508Swiz.It Aq service-name
83caa21206Slukemname of an Athena service (e.g. Zephyr).
84*d581e508Swiz.It Aq service-type
85*d581e508Swizname of Unix service (valid entries are defined in
86*d581e508Swiz.Pa /etc/services ) .
87*d581e508Swiz.It Aq printer-name
88caa21206Slukemname of a printer.
89*d581e508Swiz.It Aq printer-cluster-name
90caa21206Slukemname of an Athena print cluster.
91*d581e508Swiz.It Aq foo
92caa21206Slukemsome
93*d581e508Swiz.Nm
94*d581e508Swizcalls (e.g.,
95*d581e508Swiz.Dv prclusterlist )
96*d581e508Swizdo not require a specific
97*d581e508Swiz.Ar HesiodName
98be8ae688Sgrantargument.
99*d581e508SwizHowever, you must include a dummy string (e.g.,
100*d581e508Swiz.Dq foo )
101*d581e508Swizfor
102*d581e508Swiz.Nm
103caa21206Slukemto work properly.
104*d581e508Swiz.El
105*d581e508Swiz.Ss VALID Hesiod_Name_Types
106caa21206SlukemThe following symbols are valid substitutions for the
107*d581e508Swiz.Ar HesiodNameType
108caa21206Slukemargument to
109*d581e508Swiz.Nm .
110*d581e508Swiz.Bl -tag -width passwdX
111*d581e508Swiz.It passwd
112caa21206Slukemreturns string suitable for inclusion in
113*d581e508Swiz.Pa /etc/passwd ,
114caa21206Slukemsearching with
115*d581e508Swiz.Aq username .
116*d581e508Swiz.It pobox
117caa21206Slukemreturns information on the pobox assigned to the user specified by
118*d581e508Swiz.Ar HesiodName ,
119caa21206Slukemsearching with
120*d581e508Swiz.Aq username .
121*d581e508Swiz.It uid
122caa21206Slukemreturns string suitable for inclusion in
123*d581e508Swiz.Pa /etc/passwd ,
124caa21206Slukemsearching with
125*d581e508Swiz.Aq uid .
126*d581e508Swiz.It gid
127caa21206Slukemreturns string suitable for inclusion in
128*d581e508Swiz.Pa /etc/group ,
129caa21206Slukemsearching with
130*d581e508Swiz.Aq groupid .
131*d581e508Swiz.It group
132caa21206Slukemreturns string suitable for inclusion in
133*d581e508Swiz.Pa /etc/group ,
134caa21206Slukemsearching with
135*d581e508Swiz.Aq groupname .
136*d581e508Swiz.It grplist
137*d581e508Swizreturns subgroups included in superset defined by
138*d581e508Swiz.Aq groupname .
139*d581e508Swiz.It filsys
140*d581e508Swizreturns file system type, export point, server, mount mode, and
141*d581e508Swizimport point for the following valid
142*d581e508Swiz.Ar HesiodNames
143*d581e508Swiz(see above) -
144*d581e508Swiz.Aq Dv file system name ,
145*d581e508Swiz.Aq Dv username ,
146*d581e508Swiz.Ao Dv rvd server Ac Ns : Ns Aq pack ,
147*d581e508Swizand
148*d581e508Swiz.Ao Dv nfs server Ac Ns : Ns Aq partition .
149*d581e508Swiz.It cluster
150caa21206Slukemreturns information about the local cluster the workstation, specified by
151*d581e508Swiz.Aq workstation name .
152*d581e508SwizIncluded is information about the local file and print servers.
153*d581e508SwizThis information is accesses by
154*d581e508Swiz.Dv clusterinfo
155caa21206Slukemat boot time.
156*d581e508Swiz.It sloc
157caa21206Slukemreturns network name of service host for
158*d581e508Swiz.Aq service-name .
159*d581e508Swiz.It service
160caa21206Slukemreturns Internet protocol type and protocol service port for
161*d581e508Swiz.Aq service-type .
162*d581e508Swiz.It pcap
163*d581e508Swizreturns a valid entry for
164*d581e508Swiz.Pa /etc/printcap
165*d581e508Swizfor
166*d581e508Swiz.Aq printer-name .
167*d581e508Swiz.It prcluserlist
168caa21206Slukemreturns a list of print clusters.
169*d581e508Swiz.It prcluster
170caa21206Slukemreturns a list of printers in a cluster specified by
171*d581e508Swiz.Aq printer-cluster-name .
172*d581e508Swiz.El
173*d581e508Swiz.Sh FILES
174*d581e508Swiz.Pa /etc/hesiod.conf
175*d581e508Swiz.Sh SEE ALSO
176*d581e508Swiz.Xr hesiod 3 ,
177*d581e508Swiz.Xr named 8
178*d581e508Swiz.Rs
179*d581e508Swiz.%T Hesiod - Project Athena Technical Plan -- Name Service
180*d581e508Swiz.Re
181*d581e508Swiz.Sh AUTHORS
182*d581e508Swiz.An Steve Dyer ,
183*d581e508SwizIBM/Project Athena
184*d581e508Swiz.Pp
185caa21206SlukemCopyright 1987, 1988, 1996 by the Massachusetts Institute of Technology.
186