Debian Codegraph @

man/hesinfo.1

raw
1 .\" $Id: hesinfo.1,v 1.1 1998-09-03 01:12:49 ghudson Exp $
2 .\"
3 .\" Copyright 1987, 1996 by the Massachusetts Institute of Technology.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\"
9 .\" * Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\"
12 .\" * Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in
14 .\" the documentation and/or other materials provided with the
15 .\" distribution.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
21 .\" COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
28 .\" OF THE POSSIBILITY OF SUCH DAMAGE.
29 .TH HESINFO 1 "27 October 1996"
30 .SH NAME
31 hesinfo \- find out what is stored in the Hesiod database
32 .SH SYNOPSIS
33 .nf
34 hesinfo \fI[-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR
35 .SH DESCRIPTION
36 .I hesinfo
37 takes two arguments, a name to be resolved and a string, known
38 as a HesiodNameType. It then prints the information returned by
39 the Hesiod nameserver.
40 .PP
41 The value returned by
42 .B hesinfo
43 is of the type
44 .I HesiodNameType.
45 .PP
46 .I hesinfo
47 understands the following options:
48 .TP
49 .B -l
50 Selects long format.
51 .TP
52 .B -b
53 Prints the fully-qualified string passed to the nameserver.
54
55 .PP
56 .SS VALID Hesiod_Names
57 The following types of identifiers may be used in the
58 .I HesiodName
59 argument to
60 .B hesinfo.
61 These values will be resolved by accessing the
62 .B hesiod
63 database.
64
65 .TP
66 .B \<username>
67 the 8-character-or-less string used to identify users or classes
68 (e.g. joeuser, root, 1.00, etc).
69 Used with the
70 .I Hesiod_Name_Types
71 .BR passwd,
72 .BR pobox,
73 and
74 .BR filsys.
75
76
77 .TP
78 .B \<uid>
79 the id number assigned to a user.
80
81 .TP
82 .B \<groupid>
83 the id number assigned to a group.
84
85 .TP
86 .B \<groupname>
87 a name identifying a unique group.
88
89 .TP
90 .B \<file-system-name>
91 the name of an athena file system.
92
93 .TP
94 .B \<rvd server>:<pack>
95 the name of an rvd's server and pack seperated by a colon.
96
97 .TP
98 .B \<nfs server>:<partition>
99 the name of an nfs server and its partition seperated by a colon.
100
101 .TP
102 .B \<workstation-name>
103 the machine name of an Athena workstation (e.g. E40-343-3).
104
105 .TP
106 .B \<service-name>
107 name of an Athena service (e.g. Zephyr).
108
109 .TP
110 .B \<service-type>
111 name of Unix service (valid entries are defined in /etc/services).
112
113 .TP
114 .B \<printer-name>
115 name of a printer.
116
117 .TP
118 .B \<printer-cluster-name>
119 name of an Athena print cluster.
120
121 .TP
122 .B \<foo>
123 some
124 .B hesinfo
125 calls (e.g.
126 .B prclusterlist
127 ) do not require a specific
128 .I HesiodName
129 argument. However, you must include a dummy string (e.g. 'foo') for
130 .B hesinfo
131 to work properly.
132
133
134
135
136 .PP
137 .SS VALID Hesiod_Name_Types
138 The following symbols are valid substitutions for the
139 .I HesiodNameType
140 argument to
141 .B hesinfo.
142
143 .TP
144 .B \ passwd
145 returns string suitable for inclusion in
146 .I /etc/passwd,
147 searching with
148 .B <username>.
149
150 .TP
151 .B \ pobox
152 returns information on the pobox assigned to the user specified by
153 .I HesiodName,
154 searching with
155 .B <username>.
156
157
158 .TP
159 .B \ uid
160 returns string suitable for inclusion in
161 .I /etc/passwd,
162 searching with
163 .B <uid>.
164
165 .TP
166 .B \ gid
167 returns string suitable for inclusion in
168 .I /etc/group,
169 searching with
170 .B <groupid>.
171
172 .TP
173 .B \ group
174 returns string suitable for inclusion in
175 .I /etc/group,
176 searching with
177 .B <groupname>.
178
179 .TP
180 .B \ grplist
181 returns subgroups included in superset
182 defined by
183 .B <groupname>.
184
185 .TP
186 .B \ filsys
187 returns file system type, export point, server, mount mode, and import point
188 for the following valid
189 .I HesiodNames
190 (see above)
191 .B - <file system name>, <username>, <rvd server>:<pack>,
192 .B and <nfs server>:<partition>
193
194 .TP
195 .B \ cluster
196 returns information about the local cluster the workstation, specified by
197 .B <workstation name>.
198 Included is information about the local file and print servers. This
199 information is accesses by
200 .B clusterinfo
201 at boot time.
202
203 .TP
204 .B \ sloc
205 returns network name of service host for
206 .B <service-name>.
207
208 .TP
209 .B \ service
210 returns Internet protocol type and protocol service port for
211 .B <service-type>.
212
213 .TP
214 .B \ pcap
215 returns a valid entry for /etc/printcap for
216 .B <printer-name>.
217
218 .TP
219 .B \ prcluserlist
220 returns a list of print clusters.
221
222 .TP
223 .B \ prcluster
224 returns a list of printers in a cluster specified by
225 .B <printer-cluster-name>.
226
227 .SH FILES
228 /etc/athena/hesiod.conf
229 .SH "SEE ALSO"
230 `Hesiod - Project Athena Technical Plan -- Name Service', named(8), hesiod(3)
231 .SH AUTHOR
232 Steve Dyer, IBM/Project Athena
233 .br
234 Copyright 1987, 1988, 1996 by the Massachusetts Institute of Technology.
235 .br