1HESINFO(1)                  General Commands Manual                 HESINFO(1)
2
3
4

NAME

6       hesinfo - find out what is stored in the Hesiod database
7

SYNOPSIS

9       hesinfo [-bl] HesiodName HesiodNameType
10

DESCRIPTION

12       hesinfo  takes two arguments, a name to be resolved and a string, known
13       as a HesiodNameType.  It then prints the information  returned  by  the
14       Hesiod nameserver.
15
16       The value returned by hesinfo is of the type HesiodNameType.
17
18       hesinfo understands the following options:
19
20       -l     Selects long format.
21
22       -b     Prints the fully-qualified string passed to the nameserver.
23
24
25   VALID Hesiod_Names
26       The  following types of identifiers may be used in the HesiodName argu‐
27       ment to hesinfo.  These values will be resolved by accessing the hesiod
28       database.
29
30
31       <username>
32              the 8-character-or-less string used to identify users or classes
33              (e.g.  joeuser,  root,  1.00,  etc).    Used   with   the   Hes‐
34              iod_Name_Types passwd, pobox, and filsys.
35
36
37
38       <uid>  the id number assigned to a user.
39
40
41       <groupid>
42              the id number assigned to a group.
43
44
45       <groupname>
46              a name identifying a unique group.
47
48
49       <file-system-name>
50              the name of an athena file system.
51
52
53       <rvd server>:<pack>
54              the name of an rvd's server and pack  seperated by a colon.
55
56
57       <nfs server>:<partition>
58              the  name  of  an  nfs  server  and its partition seperated by a
59              colon.
60
61
62       <workstation-name>
63              the machine name of an Athena workstation (e.g. E40-343-3).
64
65
66       <service-name>
67              name of an Athena service (e.g. Zephyr).
68
69
70       <service-type>
71              name of Unix service (valid entries  are  defined  in  /etc/ser‐
72              vices).
73
74
75       <printer-name>
76              name of a printer.
77
78
79       <printer-cluster-name>
80              name of an Athena print cluster.
81
82
83       <foo>  some  hesinfo calls (e.g.  prclusterlist ) do not require a spe‐
84              cific HesiodName argument.  However, you must  include  a  dummy
85              string (e.g. 'foo') for hesinfo
86               to work properly.
87
88
89
90
91
92   VALID Hesiod_Name_Types
93       The  following  symbols  are valid substitutions for the HesiodNameType
94       argument to hesinfo.
95
96
97        passwd
98              returns string suitable for inclusion in /etc/passwd,  searching
99              with <username>.
100
101
102        pobox returns  information on the pobox assigned to the user specified
103              by HesiodName, searching with <username>.
104
105
106
107        uid   returns string suitable for inclusion in /etc/passwd,  searching
108              with <uid>.
109
110
111        gid   returns  string  suitable for inclusion in /etc/group, searching
112              with <groupid>.
113
114
115        group returns string suitable for inclusion in  /etc/group,  searching
116              with <groupname>.
117
118
119        grplist
120              returns subgroups included in superset defined by <groupname>.
121
122
123        filsys
124              returns  file system type, export point, server, mount mode, and
125              import point for the following valid HesiodNames (see  above)  -
126              <file  system  name>,  <username>, <rvd server>:<pack>, and <nfs
127              server>:<partition>
128
129
130        cluster
131              returns information about the  local  cluster  the  workstation,
132              specified  by <workstation name>.  Included is information about
133              the local file and print servers.  This information is  accesses
134              by clusterinfo at boot time.
135
136
137        sloc  returns network name of service host for <service-name>.
138
139
140        service
141              returns  Internet  protocol  type  and protocol service port for
142              <service-type>.
143
144
145        pcap  returns a valid entry for /etc/printcap for <printer-name>.
146
147
148        prcluserlist
149              returns a list of print clusters.
150
151
152        prcluster
153              returns a list of printers in a cluster specified  by  <printer-
154              cluster-name>.
155
156

FILES

158       /etc/athena/hesiod.conf
159

SEE ALSO

161       `Hesiod  -  Project  Athena  Technical Plan -- Name Service', named(8),
162       hesiod(3)
163

AUTHOR

165       Steve Dyer, IBM/Project Athena
166       Copyright 1987, 1988, 1996 by the Massachusetts Institute  of  Technol‐
167       ogy.
168
169
170
171                                27 October 1996                     HESINFO(1)
Impressum