1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!-- <!ENTITY mitkrb-download-http "http://web.mit.edu/kerberos/www/dist/krb5/&mitkrb-major-version;/krb5-&mitkrb-version;-signed.tar">-->
|
---|
8 | <!ENTITY mitkrb-download-http "http://web.mit.edu/kerberos/dist/krb5/&mitkrb-major-version;/krb5-&mitkrb-version;.tar.gz">
|
---|
9 | <!ENTITY mitkrb-download-ftp " ">
|
---|
10 | <!ENTITY mitkrb-md5sum "cd43a3316ebbb86b2a9020b485b1a819">
|
---|
11 | <!ENTITY mitkrb-size "8.9 MB">
|
---|
12 | <!ENTITY mitkrb-buildsize "134 MB (additional 24 MB for the testsuite)">
|
---|
13 | <!ENTITY mitkrb-time "0.9 SBU (additional 4.1 SBU for the testsuite)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="mitkrb" xreflabel="MIT Kerberos V5-&mitkrb-version;">
|
---|
17 | <?dbhtml filename="mitkrb.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>MIT Kerberos V5-&mitkrb-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="mitkrb">
|
---|
27 | <primary sortas="a-MIT-Kerberos">MIT Kerberos V5</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to MIT Kerberos V5</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>MIT Kerberos V5</application> is a free implementation
|
---|
35 | of Kerberos 5. Kerberos is a network authentication protocol. It
|
---|
36 | centralizes the authentication database and uses kerberized
|
---|
37 | applications to work with servers or services that support Kerberos
|
---|
38 | allowing single logins and encrypted communication over internal
|
---|
39 | networks or the Internet.
|
---|
40 | </para>
|
---|
41 |
|
---|
42 | &lfs7a_built;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&mitkrb-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&mitkrb-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &mitkrb-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &mitkrb-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &mitkrb-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &mitkrb-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
79 | <itemizedlist spacing="compact">
|
---|
80 | <listitem>
|
---|
81 | <para>
|
---|
82 | Patch required on systems with IPv4 only enabled:
|
---|
83 | <ulink url="&patch-root;/mitkrb-&mitkrb-version;-fix_ipv4_only-1.patch"/>
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | </itemizedlist>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect3">MIT Kerberos V5 Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="dejagnu"/> (for full test coverage),
|
---|
93 | <xref linkend="gnupg2"/> (to authenticate the package),
|
---|
94 | <xref linkend="keyutils"/>,
|
---|
95 | <xref linkend="openldap"/>,
|
---|
96 | <xref linkend="python2"/> (used during the testsuite),
|
---|
97 | <xref linkend="rpcbind"/> (used during the testsuite), and
|
---|
98 | <xref linkend="valgrind"/> (used during the test suite)
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <note>
|
---|
102 | <para>
|
---|
103 | Some sort of time synchronization facility on your system (like
|
---|
104 | <xref linkend="ntp"/>) is required since Kerberos won't authenticate
|
---|
105 | if there is a time difference between a kerberized client and the
|
---|
106 | KDC server.
|
---|
107 | </para>
|
---|
108 | </note>
|
---|
109 |
|
---|
110 | <para condition="html" role="usernotes">User Notes:
|
---|
111 | <ulink url="&blfs-wiki;/mitkrb"/>
|
---|
112 | </para>
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of MIT Kerberos V5</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | If your system is configured to support only IPv4, apply the following
|
---|
120 | patch:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>patch -p1 -i ../mitkrb-&mitkrb-version;-fix_ipv4_only-1.patch</userinput></screen>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Build <application>MIT Kerberos V5</application> by running the
|
---|
127 | following commands:
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <screen><userinput>cd src &&
|
---|
131 |
|
---|
132 | sed -e "s@python2.5/Python.h@& python2.7/Python.h@g" \
|
---|
133 | -e "s@-lpython2.5]@&,\n AC_CHECK_LIB(python2.7,main,[PYTHON_LIB=-lpython2.7])@g" \
|
---|
134 | -i configure.in &&
|
---|
135 |
|
---|
136 | sed -e 's@\^u}@^u cols 300}@' \
|
---|
137 | -i tests/dejagnu/config/default.exp &&
|
---|
138 |
|
---|
139 | sed -e '/eq 0/{N;s/12 //}' \
|
---|
140 | -i plugins/kdb/db2/libdb2/test/run.test &&
|
---|
141 |
|
---|
142 | autoconf &&
|
---|
143 | ./configure --prefix=/usr \
|
---|
144 | --sysconfdir=/etc \
|
---|
145 | --localstatedir=/var/lib \
|
---|
146 | --with-system-et \
|
---|
147 | --with-system-ss \
|
---|
148 | --with-system-verto=no \
|
---|
149 | --enable-dns-for-realm &&
|
---|
150 | make</userinput></screen>
|
---|
151 |
|
---|
152 | <para>
|
---|
153 | To test the build, issue as the <systemitem
|
---|
154 | class="username">root</systemitem> user: <command>make check</command>.
|
---|
155 | You need at least <xref linkend="tcl"/>, which is used to drive the
|
---|
156 | testsuite. Furthermore, <xref linkend="dejagnu"/> must be available for
|
---|
157 | some of the tests to run. If you have a former version of MIT Kerberos V5
|
---|
158 | installed, it may happen that the test suite pick up the installed
|
---|
159 | versions of the libraries, rather than the newly built ones. If so, it is
|
---|
160 | better to run the tests after the installation.
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | <para>
|
---|
164 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <screen role="root"><userinput>make install &&
|
---|
168 |
|
---|
169 | for f in gssapi_krb5 gssrpc k5crypto kadm5clnt kadm5srv \
|
---|
170 | kdb5 kdb_ldap krad krb5 krb5support verto ; do
|
---|
171 |
|
---|
172 | find /usr/lib -type f -name "lib$f*.so*" -exec chmod -v 755 {} \;
|
---|
173 | done &&
|
---|
174 |
|
---|
175 | mv -v /usr/lib/libkrb5.so.3* /lib &&
|
---|
176 | mv -v /usr/lib/libk5crypto.so.3* /lib &&
|
---|
177 | mv -v /usr/lib/libkrb5support.so.0* /lib &&
|
---|
178 |
|
---|
179 | ln -v -sf ../../lib/libkrb5.so.3.3 /usr/lib/libkrb5.so &&
|
---|
180 | ln -v -sf ../../lib/libk5crypto.so.3.1 /usr/lib/libk5crypto.so &&
|
---|
181 | ln -v -sf ../../lib/libkrb5support.so.0.1 /usr/lib/libkrb5support.so &&
|
---|
182 |
|
---|
183 | mv -v /usr/bin/ksu /bin &&
|
---|
184 | chmod -v 755 /bin/ksu &&
|
---|
185 |
|
---|
186 | install -v -dm755 /usr/share/doc/krb5-&mitkrb-version; &&
|
---|
187 | cp -vfr ../doc/* /usr/share/doc/krb5-&mitkrb-version;</userinput></screen>
|
---|
188 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | <sect2 role="commands">
|
---|
192 | <title>Command Explanations</title>
|
---|
193 |
|
---|
194 | <para>
|
---|
195 | <command>sed -e ...</command>: The first <command>sed</command> fixes
|
---|
196 | <application>Python</application> detection. The second one increases
|
---|
197 | the width of the virtual terminal used for some tests to prevent
|
---|
198 | some spurious text in the output which is taken as a failure. The
|
---|
199 | third <command>sed</command> removes a test that is known to fail.
|
---|
200 | </para>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | <parameter>--localstatedir=/var/lib</parameter>: This option is
|
---|
204 | used so that the Kerberos variable run-time data is located in
|
---|
205 | <filename class="directory">/var/lib</filename> instead of
|
---|
206 | <filename class="directory">/usr/var</filename>.
|
---|
207 | </para>
|
---|
208 |
|
---|
209 | <para>
|
---|
210 | <parameter>--with-system-et</parameter>: This switch causes the build
|
---|
211 | to use the system-installed versions of the error-table support
|
---|
212 | software.
|
---|
213 | </para>
|
---|
214 |
|
---|
215 | <para>
|
---|
216 | <parameter>--with-system-ss</parameter>: This switch causes the build
|
---|
217 | to use the system-installed versions of the subsystem command-line
|
---|
218 | interface software.
|
---|
219 | </para>
|
---|
220 |
|
---|
221 | <para>
|
---|
222 | <parameter>--with-system-verto=no</parameter>: This switch fixes a bug in
|
---|
223 | the package: it does not recognize its own verto library installed
|
---|
224 | previously. This is not a problem, if reinstalling the same version,
|
---|
225 | but if you are updating, the old library is used as system's one,
|
---|
226 | instead of installing the new version.
|
---|
227 | </para>
|
---|
228 |
|
---|
229 | <para>
|
---|
230 | <parameter>--enable-dns-for-realm</parameter>: This switch allows
|
---|
231 | realms to be resolved using the DNS server.
|
---|
232 | </para>
|
---|
233 |
|
---|
234 | <para>
|
---|
235 | <option>--with-ldap</option>: Use this switch if you want to compile the
|
---|
236 | <application>OpenLDAP</application> database backend module.
|
---|
237 | </para>
|
---|
238 |
|
---|
239 | <para>
|
---|
240 | <command>mv -v /usr/lib/libk... /lib </command> and
|
---|
241 | <command>ln -v -sf ../../lib/libk... /usr/lib/libk...</command>:
|
---|
242 | Move critical libraries to the
|
---|
243 | <filename class="directory">/lib</filename> directory so that they are
|
---|
244 | available when the <filename class="directory">/usr</filename>
|
---|
245 | filesystem is not mounted.
|
---|
246 | </para>
|
---|
247 |
|
---|
248 | <para>
|
---|
249 | <command>find /usr/lib -type f -name "lib$f*.so*" -exec chmod -v 755 {} \;</command>:
|
---|
250 | This command changes the permisison of installed libraries.
|
---|
251 | </para>
|
---|
252 |
|
---|
253 | <para>
|
---|
254 | <command>mv -v /usr/bin/ksu /bin</command>: Moves the
|
---|
255 | <command>ksu</command> program to the
|
---|
256 | <filename class="directory">/bin</filename> directory so that it is
|
---|
257 | available when the <filename class="directory">/usr</filename>
|
---|
258 | filesystem is not mounted.
|
---|
259 | </para>
|
---|
260 |
|
---|
261 | </sect2>
|
---|
262 |
|
---|
263 | <sect2 role="configuration">
|
---|
264 | <title>Configuring MIT Kerberos V5</title>
|
---|
265 |
|
---|
266 | <sect3 id="krb5-config">
|
---|
267 | <title>Config Files</title>
|
---|
268 |
|
---|
269 | <para>
|
---|
270 | <filename>/etc/krb5.conf</filename> and
|
---|
271 | <filename>/var/lib/krb5kdc/kdc.conf</filename>
|
---|
272 | </para>
|
---|
273 |
|
---|
274 | <indexterm zone="mitkrb krb5-config">
|
---|
275 | <primary sortas="e-etc-krb5.conf">/etc/krb5.conf</primary>
|
---|
276 | </indexterm>
|
---|
277 |
|
---|
278 | <indexterm zone="mitkrb krb5-config">
|
---|
279 | <primary sortas="e-var-lib-krb5kdc-kdc.conf">/var/lib/krb5kdc/kdc.conf</primary>
|
---|
280 | </indexterm>
|
---|
281 |
|
---|
282 | </sect3>
|
---|
283 |
|
---|
284 | <sect3>
|
---|
285 | <title>Configuration Information</title>
|
---|
286 |
|
---|
287 | <sect4>
|
---|
288 | <title>Kerberos Configuration</title>
|
---|
289 |
|
---|
290 | <tip>
|
---|
291 | <para>
|
---|
292 | You should consider installing some sort of password checking
|
---|
293 | dictionary so that you can configure the installation to only
|
---|
294 | accept strong passwords. A suitable dictionary to use is shown in
|
---|
295 | the <xref linkend="cracklib"/> instructions. Note that only one
|
---|
296 | file can be used, but you can concatenate many files into one. The
|
---|
297 | configuration file shown below assumes you have installed a
|
---|
298 | dictionary to <filename>/usr/share/dict/words</filename>.
|
---|
299 | </para>
|
---|
300 | </tip>
|
---|
301 |
|
---|
302 | <para>
|
---|
303 | Create the Kerberos configuration file with the following
|
---|
304 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
305 | user:
|
---|
306 | </para>
|
---|
307 |
|
---|
308 | <screen role="root"><userinput>cat > /etc/krb5.conf << "EOF"
|
---|
309 | <literal># Begin /etc/krb5.conf
|
---|
310 |
|
---|
311 | [libdefaults]
|
---|
312 | default_realm = <replaceable><LFS.ORG></replaceable>
|
---|
313 | encrypt = true
|
---|
314 |
|
---|
315 | [realms]
|
---|
316 | <replaceable><LFS.ORG></replaceable> = {
|
---|
317 | kdc = <replaceable><belgarath.lfs.org></replaceable>
|
---|
318 | admin_server = <replaceable><belgarath.lfs.org></replaceable>
|
---|
319 | dict_file = /usr/share/dict/words
|
---|
320 | }
|
---|
321 |
|
---|
322 | [domain_realm]
|
---|
323 | .<replaceable><lfs.org></replaceable> = <replaceable><LFS.ORG></replaceable>
|
---|
324 |
|
---|
325 | [logging]
|
---|
326 | kdc = SYSLOG:INFO:AUTH
|
---|
327 | admin_server = SYSLOG:INFO:AUTH
|
---|
328 | default = SYSLOG:DEBUG:DAEMON
|
---|
329 |
|
---|
330 | # End /etc/krb5.conf</literal>
|
---|
331 | EOF</userinput></screen>
|
---|
332 |
|
---|
333 | <para>
|
---|
334 | You will need to substitute your domain and proper hostname for the
|
---|
335 | occurrences of the <replaceable><belgarath></replaceable> and
|
---|
336 | <replaceable><lfs.org></replaceable> names.
|
---|
337 | </para>
|
---|
338 |
|
---|
339 | <para>
|
---|
340 | <option>default_realm</option> should be the name of your
|
---|
341 | domain changed to ALL CAPS. This isn't required, but both
|
---|
342 | <application>Heimdal</application> and MIT recommend it.
|
---|
343 | </para>
|
---|
344 |
|
---|
345 | <para>
|
---|
346 | <option>encrypt = true</option> provides encryption of all traffic
|
---|
347 | between kerberized clients and servers. It's not necessary and can
|
---|
348 | be left off. If you leave it off, you can encrypt all traffic from
|
---|
349 | the client to the server using a switch on the client program
|
---|
350 | instead.
|
---|
351 | </para>
|
---|
352 |
|
---|
353 | <para>
|
---|
354 | The <option>[realms]</option> parameters tell the client programs
|
---|
355 | where to look for the KDC authentication services.
|
---|
356 | </para>
|
---|
357 |
|
---|
358 | <para>
|
---|
359 | The <option>[domain_realm]</option> section maps a domain to a realm.
|
---|
360 | </para>
|
---|
361 |
|
---|
362 | <para>
|
---|
363 | Create the KDC database:
|
---|
364 | </para>
|
---|
365 |
|
---|
366 | <screen role="root"><userinput>kdb5_util create -r <replaceable><LFS.ORG></replaceable> -s</userinput></screen>
|
---|
367 |
|
---|
368 | <para>
|
---|
369 | Now you should populate the database with principals
|
---|
370 | (users). For now, just use your regular login name or
|
---|
371 | <systemitem class="username">root</systemitem>.
|
---|
372 | </para>
|
---|
373 |
|
---|
374 | <screen role="root"><userinput>kadmin.local
|
---|
375 | <prompt>kadmin.local:</prompt> add_policy dict-only
|
---|
376 | <prompt>kadmin.local:</prompt> addprinc -policy dict-only <replaceable><loginname></replaceable></userinput></screen>
|
---|
377 |
|
---|
378 | <para>
|
---|
379 | The KDC server and any machine running kerberized
|
---|
380 | server daemons must have a host key installed:
|
---|
381 | </para>
|
---|
382 |
|
---|
383 | <screen role="root"><userinput><prompt>kadmin.local:</prompt> addprinc -randkey host/<replaceable><belgarath.lfs.org></replaceable></userinput></screen>
|
---|
384 |
|
---|
385 | <para>
|
---|
386 | After choosing the defaults when prompted, you will have to
|
---|
387 | export the data to a keytab file:
|
---|
388 | </para>
|
---|
389 |
|
---|
390 | <screen role="root"><userinput><prompt>kadmin.local:</prompt> ktadd host/<replaceable><belgarath.lfs.org></replaceable></userinput></screen>
|
---|
391 |
|
---|
392 | <para>
|
---|
393 | This should have created a file in
|
---|
394 | <filename class="directory">/etc</filename> named
|
---|
395 | <filename>krb5.keytab</filename> (Kerberos 5). This file should
|
---|
396 | have 600 (<systemitem class="username">root</systemitem> rw only)
|
---|
397 | permissions. Keeping the keytab files from public access is crucial
|
---|
398 | to the overall security of the Kerberos installation.
|
---|
399 | </para>
|
---|
400 |
|
---|
401 | <para>
|
---|
402 | Exit the <command>kadmin</command> program (use
|
---|
403 | <command>quit</command> or <command>exit</command>) and return
|
---|
404 | back to the shell prompt. Start the KDC daemon manually, just to
|
---|
405 | test out the installation:
|
---|
406 | </para>
|
---|
407 |
|
---|
408 | <screen role="root"><userinput>/usr/sbin/krb5kdc</userinput></screen>
|
---|
409 |
|
---|
410 | <para>
|
---|
411 | Attempt to get a ticket with the following command:
|
---|
412 | </para>
|
---|
413 |
|
---|
414 | <screen><userinput>kinit <replaceable><loginname></replaceable></userinput></screen>
|
---|
415 |
|
---|
416 | <para>
|
---|
417 | You will be prompted for the password you created. After you
|
---|
418 | get your ticket, you can list it with the following command:
|
---|
419 | </para>
|
---|
420 |
|
---|
421 | <screen><userinput>klist</userinput></screen>
|
---|
422 |
|
---|
423 | <para>
|
---|
424 | Information about the ticket should be displayed on the
|
---|
425 | screen.
|
---|
426 | </para>
|
---|
427 |
|
---|
428 | <para>
|
---|
429 | To test the functionality of the keytab file, issue the
|
---|
430 | following command:
|
---|
431 | </para>
|
---|
432 |
|
---|
433 | <screen><userinput>ktutil
|
---|
434 | <prompt>ktutil:</prompt> rkt /etc/krb5.keytab
|
---|
435 | <prompt>ktutil:</prompt> l</userinput></screen>
|
---|
436 |
|
---|
437 | <para>
|
---|
438 | This should dump a list of the host principal, along with
|
---|
439 | the encryption methods used to access the principal.
|
---|
440 | </para>
|
---|
441 |
|
---|
442 | <para>
|
---|
443 | At this point, if everything has been successful so far, you
|
---|
444 | can feel fairly confident in the installation and configuration of
|
---|
445 | the package.
|
---|
446 | </para>
|
---|
447 |
|
---|
448 | </sect4>
|
---|
449 |
|
---|
450 | <sect4>
|
---|
451 | <title>Additional Information</title>
|
---|
452 |
|
---|
453 | <para>
|
---|
454 | For additional information consult the <ulink
|
---|
455 | url="http://web.mit.edu/kerberos/www/krb5-&mitkrb-major-version;/#documentation">
|
---|
456 | documentation for krb5-&mitkrb-version;</ulink> on which the above
|
---|
457 | instructions are based.
|
---|
458 | </para>
|
---|
459 |
|
---|
460 | </sect4>
|
---|
461 |
|
---|
462 | </sect3>
|
---|
463 |
|
---|
464 | <sect3 id="mitkrb-init">
|
---|
465 | <title><phrase revision="sysv">Init Script</phrase>
|
---|
466 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
467 |
|
---|
468 | <para revision="sysv">
|
---|
469 | If you want to start <application>Kerberos</application> services
|
---|
470 | at boot, install the <filename>/etc/rc.d/init.d/krb5</filename> init
|
---|
471 | script included in the <xref linkend="bootscripts"/> package using
|
---|
472 | the following command:
|
---|
473 | </para>
|
---|
474 |
|
---|
475 | <para revision="systemd">
|
---|
476 | If you want to start <application>Kerberos</application> services
|
---|
477 | at boot, install the <filename>krb5.service</filename> unit included in
|
---|
478 | the <xref linkend="systemd-units"/> package using the following command:
|
---|
479 | </para>
|
---|
480 |
|
---|
481 | <indexterm zone="mitkrb mitkrb-init">
|
---|
482 | <primary sortas="f-krb5">krb5</primary>
|
---|
483 | </indexterm>
|
---|
484 |
|
---|
485 | <screen role="root"><userinput>make install-krb5</userinput></screen>
|
---|
486 |
|
---|
487 | </sect3>
|
---|
488 |
|
---|
489 | </sect2>
|
---|
490 |
|
---|
491 | <sect2 role="content">
|
---|
492 |
|
---|
493 | <title>Contents</title>
|
---|
494 | <para></para>
|
---|
495 |
|
---|
496 | <segmentedlist>
|
---|
497 | <segtitle>Installed Programs</segtitle>
|
---|
498 | <segtitle>Installed Libraries</segtitle>
|
---|
499 | <segtitle>Installed Directories</segtitle>
|
---|
500 |
|
---|
501 | <seglistitem>
|
---|
502 | <seg>
|
---|
503 | gss-client, gss-server, k5srvutil, kadmin, kadmin.local,
|
---|
504 | kadmind, kdb5_ldap_util (optional), kdb5_util, kdestroy, kinit, klist,
|
---|
505 | kpasswd, kprop, kpropd, kproplog, krb5-config, krb5kdc, krb5-send-pr,
|
---|
506 | ksu, kswitch, ktutil, kvno, sclient, sim_client, sim_server,
|
---|
507 | sserver, uuclient and uuserver
|
---|
508 | </seg>
|
---|
509 | <seg>
|
---|
510 | libgssapi_krb5.so, libgssrpc.so, libk5crypto.so, libkadm5clnt_mit.so,
|
---|
511 | libkadm5clnt.so, libkadm5srv_mit.so, libkadm5srv.so, libkdb_ldap.so
|
---|
512 | (optional), libkdb5.so, libkrad.so, libkrb5.so, libkrb5support.so,
|
---|
513 | libverto.so, and some plugins under the /usr/lib/krb5 tree
|
---|
514 | </seg>
|
---|
515 | <seg>
|
---|
516 | /usr/include/{gssapi,gssrpc,kadm5,krb5},
|
---|
517 | /usr/lib/krb5,
|
---|
518 | /usr/share/{doc/krb5-&mitkrb-version;,examples/krb5},
|
---|
519 | /var/lib/krb5kdc, and
|
---|
520 | /var/lib/run/krb5kdc
|
---|
521 | </seg>
|
---|
522 | </seglistitem>
|
---|
523 | </segmentedlist>
|
---|
524 |
|
---|
525 | <variablelist>
|
---|
526 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
527 | <?dbfo list-presentation="list"?>
|
---|
528 | <?dbhtml list-presentation="table"?>
|
---|
529 |
|
---|
530 | <varlistentry id="gss-client">
|
---|
531 | <term><command>gss-client</command></term>
|
---|
532 | <listitem>
|
---|
533 | <para>
|
---|
534 | is a GSSAPI test client.
|
---|
535 | </para>
|
---|
536 | <indexterm zone="mitkrb gss-client">
|
---|
537 | <primary sortas="b-gss-client">gss-client</primary>
|
---|
538 | </indexterm>
|
---|
539 | </listitem>
|
---|
540 | </varlistentry>
|
---|
541 |
|
---|
542 | <varlistentry id="gss-server">
|
---|
543 | <term><command>gss-server</command></term>
|
---|
544 | <listitem>
|
---|
545 | <para>
|
---|
546 | is a GSSAPI test server.
|
---|
547 | </para>
|
---|
548 | <indexterm zone="mitkrb gss-server">
|
---|
549 | <primary sortas="b-gss-server">gss-server</primary>
|
---|
550 | </indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="k5srvutil">
|
---|
555 | <term><command>k5srvutil</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>
|
---|
558 | is a host keytable manipulation utility.
|
---|
559 | </para>
|
---|
560 | <indexterm zone="mitkrb k5srvutil">
|
---|
561 | <primary sortas="b-k5srvutil">k5srvutil</primary>
|
---|
562 | </indexterm>
|
---|
563 | </listitem>
|
---|
564 | </varlistentry>
|
---|
565 |
|
---|
566 | <varlistentry id="kadmin">
|
---|
567 | <term><command>kadmin</command></term>
|
---|
568 | <listitem>
|
---|
569 | <para>
|
---|
570 | is an utility used to make modifications
|
---|
571 | to the Kerberos database.
|
---|
572 | </para>
|
---|
573 | <indexterm zone="mitkrb kadmin">
|
---|
574 | <primary sortas="b-kadmin">kadmin</primary>
|
---|
575 | </indexterm>
|
---|
576 | </listitem>
|
---|
577 | </varlistentry>
|
---|
578 |
|
---|
579 | <varlistentry id="kadmin.local">
|
---|
580 | <term><command>kadmin.local</command></term>
|
---|
581 | <listitem>
|
---|
582 | <para>
|
---|
583 | is an utility similar to <command>kadmin</command>, but if the
|
---|
584 | database is db2, the local client <command>kadmin.local</command>,
|
---|
585 | is intended to run directly on the master KDC without Kerberos
|
---|
586 | authentication.
|
---|
587 | </para>
|
---|
588 | <indexterm zone="mitkrb kadmin.local">
|
---|
589 | <primary sortas="b-kadmin.local">kadmin.local</primary>
|
---|
590 | </indexterm>
|
---|
591 | </listitem>
|
---|
592 | </varlistentry>
|
---|
593 |
|
---|
594 | <varlistentry id="kadmind">
|
---|
595 | <term><command>kadmind</command></term>
|
---|
596 | <listitem>
|
---|
597 | <para>
|
---|
598 | is a server for administrative access
|
---|
599 | to a Kerberos database.
|
---|
600 | </para>
|
---|
601 | <indexterm zone="mitkrb kadmind">
|
---|
602 | <primary sortas="b-kadmind">kadmind</primary>
|
---|
603 | </indexterm>
|
---|
604 | </listitem>
|
---|
605 | </varlistentry>
|
---|
606 |
|
---|
607 | <varlistentry id="kdb5_ldap_util">
|
---|
608 | <term><command>kdb5_ldap_util (optional)</command></term>
|
---|
609 | <listitem>
|
---|
610 | <para>
|
---|
611 | allows an administrator to manage realms, Kerberos services
|
---|
612 | and ticket policies.
|
---|
613 | </para>
|
---|
614 | <indexterm zone="mitkrb kdb5_ldap_util">
|
---|
615 | <primary sortas="b-kdb5_ldap_util">kdb5_ldap_util</primary>
|
---|
616 | </indexterm>
|
---|
617 | </listitem>
|
---|
618 | </varlistentry>
|
---|
619 |
|
---|
620 | <varlistentry id="kdb5_util">
|
---|
621 | <term><command>kdb5_util</command></term>
|
---|
622 | <listitem>
|
---|
623 | <para>
|
---|
624 | is the KDC database utility.
|
---|
625 | </para>
|
---|
626 | <indexterm zone="mitkrb kdb5_util">
|
---|
627 | <primary sortas="b-kdb5_util">kdb5_util</primary>
|
---|
628 | </indexterm>
|
---|
629 | </listitem>
|
---|
630 | </varlistentry>
|
---|
631 |
|
---|
632 | <varlistentry id="kdestroy">
|
---|
633 | <term><command>kdestroy</command></term>
|
---|
634 | <listitem>
|
---|
635 | <para>
|
---|
636 | removes the current set of tickets.
|
---|
637 | </para>
|
---|
638 | <indexterm zone="mitkrb kdestroy">
|
---|
639 | <primary sortas="b-kdestroy">kdestroy</primary>
|
---|
640 | </indexterm>
|
---|
641 | </listitem>
|
---|
642 | </varlistentry>
|
---|
643 |
|
---|
644 | <varlistentry id="kinit">
|
---|
645 | <term><command>kinit</command></term>
|
---|
646 | <listitem>
|
---|
647 | <para>
|
---|
648 | is used to authenticate to the Kerberos server as a
|
---|
649 | principal and acquire a ticket granting ticket that can
|
---|
650 | later be used to obtain tickets for other services.
|
---|
651 | </para>
|
---|
652 | <indexterm zone="mitkrb kinit">
|
---|
653 | <primary sortas="b-kinit">kinit</primary>
|
---|
654 | </indexterm>
|
---|
655 | </listitem>
|
---|
656 | </varlistentry>
|
---|
657 |
|
---|
658 | <varlistentry id="klist">
|
---|
659 | <term><command>klist</command></term>
|
---|
660 | <listitem>
|
---|
661 | <para>
|
---|
662 | reads and displays the current tickets in
|
---|
663 | the credential cache.
|
---|
664 | </para>
|
---|
665 | <indexterm zone="mitkrb klist">
|
---|
666 | <primary sortas="b-klist">klist</primary>
|
---|
667 | </indexterm>
|
---|
668 | </listitem>
|
---|
669 | </varlistentry>
|
---|
670 |
|
---|
671 | <varlistentry id="kpasswd">
|
---|
672 | <term><command>kpasswd</command></term>
|
---|
673 | <listitem>
|
---|
674 | <para>
|
---|
675 | is a program for changing Kerberos 5 passwords.
|
---|
676 | </para>
|
---|
677 | <indexterm zone="mitkrb kpasswd">
|
---|
678 | <primary sortas="b-kpasswd">kpasswd</primary>
|
---|
679 | </indexterm>
|
---|
680 | </listitem>
|
---|
681 | </varlistentry>
|
---|
682 |
|
---|
683 | <varlistentry id="kprop">
|
---|
684 | <term><command>kprop</command></term>
|
---|
685 | <listitem>
|
---|
686 | <para>
|
---|
687 | takes a principal database in a specified format and
|
---|
688 | converts it into a stream of database records.
|
---|
689 | </para>
|
---|
690 | <indexterm zone="mitkrb kprop">
|
---|
691 | <primary sortas="b-kprop">kprop</primary>
|
---|
692 | </indexterm>
|
---|
693 | </listitem>
|
---|
694 | </varlistentry>
|
---|
695 |
|
---|
696 | <varlistentry id="kpropd">
|
---|
697 | <term><command>kpropd</command></term>
|
---|
698 | <listitem>
|
---|
699 | <para>
|
---|
700 | receives a database sent by <command>kprop</command>
|
---|
701 | and writes it as a local database.
|
---|
702 | </para>
|
---|
703 | <indexterm zone="mitkrb kpropd">
|
---|
704 | <primary sortas="b-kpropd">kpropd</primary>
|
---|
705 | </indexterm>
|
---|
706 | </listitem>
|
---|
707 | </varlistentry>
|
---|
708 |
|
---|
709 | <varlistentry id="kproplog">
|
---|
710 | <term><command>kproplog</command></term>
|
---|
711 | <listitem>
|
---|
712 | <para>
|
---|
713 | displays the contents of the KDC database update log to standard
|
---|
714 | output.
|
---|
715 | </para>
|
---|
716 | <indexterm zone="mitkrb kproplog">
|
---|
717 | <primary sortas="b-kproplog">kproplog</primary>
|
---|
718 | </indexterm>
|
---|
719 | </listitem>
|
---|
720 | </varlistentry>
|
---|
721 |
|
---|
722 | <varlistentry id="krb5-config-prog2">
|
---|
723 | <term><command>krb5-config</command></term>
|
---|
724 | <listitem>
|
---|
725 | <para>
|
---|
726 | gives information on how to link programs against
|
---|
727 | libraries.
|
---|
728 | </para>
|
---|
729 | <indexterm zone="mitkrb krb5-config-prog2">
|
---|
730 | <primary sortas="b-krb5-config">krb5-config</primary>
|
---|
731 | </indexterm>
|
---|
732 | </listitem>
|
---|
733 | </varlistentry>
|
---|
734 |
|
---|
735 | <varlistentry id="krb5kdc">
|
---|
736 | <term><command>krb5kdc</command></term>
|
---|
737 | <listitem>
|
---|
738 | <para>
|
---|
739 | is the <application>Kerberos 5</application> server.
|
---|
740 | </para>
|
---|
741 | <indexterm zone="mitkrb krb5kdc">
|
---|
742 | <primary sortas="b-krb5kdc">krb5kdc</primary>
|
---|
743 | </indexterm>
|
---|
744 | </listitem>
|
---|
745 | </varlistentry>
|
---|
746 |
|
---|
747 | <varlistentry id="krb5-send-pr">
|
---|
748 | <term><command>krb5-send-pr</command></term>
|
---|
749 | <listitem>
|
---|
750 | <para>
|
---|
751 | sends a problem report (PR) to a central support site.
|
---|
752 | </para>
|
---|
753 | <indexterm zone="mitkrb krb5-send-pr">
|
---|
754 | <primary sortas="b-krb-send-pr">krb5-send-pr</primary>
|
---|
755 | </indexterm>
|
---|
756 | </listitem>
|
---|
757 | </varlistentry>
|
---|
758 |
|
---|
759 | <varlistentry id="ksu">
|
---|
760 | <term><command>ksu</command></term>
|
---|
761 | <listitem>
|
---|
762 | <para>
|
---|
763 | is the super user program using Kerberos protocol.
|
---|
764 | Requires a properly configured
|
---|
765 | <filename>/etc/shells</filename> and
|
---|
766 | <filename>~/.k5login</filename> containing principals
|
---|
767 | authorized to become super users.
|
---|
768 | </para>
|
---|
769 | <indexterm zone="mitkrb ksu">
|
---|
770 | <primary sortas="b-ksu">ksu</primary>
|
---|
771 | </indexterm>
|
---|
772 | </listitem>
|
---|
773 | </varlistentry>
|
---|
774 |
|
---|
775 | <varlistentry id="kswitch">
|
---|
776 | <term><command>kswitch</command></term>
|
---|
777 | <listitem>
|
---|
778 | <para>
|
---|
779 | makes the specified credential cache the
|
---|
780 | primary cache for the collection, if a cache
|
---|
781 | collection is available.
|
---|
782 | </para>
|
---|
783 | <indexterm zone="mitkrb kswitch">
|
---|
784 | <primary sortas="b-kswitch">kswitch</primary>
|
---|
785 | </indexterm>
|
---|
786 | </listitem>
|
---|
787 | </varlistentry>
|
---|
788 |
|
---|
789 | <varlistentry id="ktutil">
|
---|
790 | <term><command>ktutil</command></term>
|
---|
791 | <listitem>
|
---|
792 | <para>
|
---|
793 | is a program for managing Kerberos keytabs.
|
---|
794 | </para>
|
---|
795 | <indexterm zone="mitkrb ktutil">
|
---|
796 | <primary sortas="b-ktutil">ktutil</primary>
|
---|
797 | </indexterm>
|
---|
798 | </listitem>
|
---|
799 | </varlistentry>
|
---|
800 |
|
---|
801 | <varlistentry id="kvno">
|
---|
802 | <term><command>kvno</command></term>
|
---|
803 | <listitem>
|
---|
804 | <para>
|
---|
805 | prints keyversion numbers of Kerberos principals.
|
---|
806 | </para>
|
---|
807 | <indexterm zone="mitkrb kvno">
|
---|
808 | <primary sortas="b-kvno">kvno</primary>
|
---|
809 | </indexterm>
|
---|
810 | </listitem>
|
---|
811 | </varlistentry>
|
---|
812 |
|
---|
813 | <varlistentry id="sclient">
|
---|
814 | <term><command>sclient</command></term>
|
---|
815 | <listitem>
|
---|
816 | <para>
|
---|
817 | is used to contact a sample server and authenticate to it
|
---|
818 | using Kerberos 5 tickets, then display the server's
|
---|
819 | response.
|
---|
820 | </para>
|
---|
821 | <indexterm zone="mitkrb sclient">
|
---|
822 | <primary sortas="b-sclient">sclient</primary>
|
---|
823 | </indexterm>
|
---|
824 | </listitem>
|
---|
825 | </varlistentry>
|
---|
826 |
|
---|
827 | <varlistentry id="sim_client">
|
---|
828 | <term><command>sim_client</command></term>
|
---|
829 | <listitem>
|
---|
830 | <para>
|
---|
831 | is a simple UDP-based sample client program, for
|
---|
832 | demonstration.
|
---|
833 | </para>
|
---|
834 | <indexterm zone="mitkrb sim_client">
|
---|
835 | <primary sortas="b-sim_client">sim_client</primary>
|
---|
836 | </indexterm>
|
---|
837 | </listitem>
|
---|
838 | </varlistentry>
|
---|
839 |
|
---|
840 | <varlistentry id="sim_server">
|
---|
841 | <term><command>sim_server</command></term>
|
---|
842 | <listitem>
|
---|
843 | <para>
|
---|
844 | is a simple UDP-based server application, for
|
---|
845 | demonstration.
|
---|
846 | </para>
|
---|
847 | <indexterm zone="mitkrb sim_server">
|
---|
848 | <primary sortas="b-sim_server">sim_server</primary>
|
---|
849 | </indexterm>
|
---|
850 | </listitem>
|
---|
851 | </varlistentry>
|
---|
852 |
|
---|
853 | <varlistentry id="sserver">
|
---|
854 | <term><command>sserver</command></term>
|
---|
855 | <listitem>
|
---|
856 | <para>
|
---|
857 | is the sample Kerberos 5 server.
|
---|
858 | </para>
|
---|
859 | <indexterm zone="mitkrb sserver">
|
---|
860 | <primary sortas="b-sserver">sserver</primary>
|
---|
861 | </indexterm>
|
---|
862 | </listitem>
|
---|
863 | </varlistentry>
|
---|
864 |
|
---|
865 | <varlistentry id="uuclient">
|
---|
866 | <term><command>uuclient</command></term>
|
---|
867 | <listitem>
|
---|
868 | <para>
|
---|
869 | is another sample client.
|
---|
870 | </para>
|
---|
871 | <indexterm zone="mitkrb uuclient">
|
---|
872 | <primary sortas="b-uuclient">uuclient</primary>
|
---|
873 | </indexterm>
|
---|
874 | </listitem>
|
---|
875 | </varlistentry>
|
---|
876 |
|
---|
877 | <varlistentry id="uuserver">
|
---|
878 | <term><command>uuserver</command></term>
|
---|
879 | <listitem>
|
---|
880 | <para>
|
---|
881 | is another sample server.
|
---|
882 | </para>
|
---|
883 | <indexterm zone="mitkrb uuserver">
|
---|
884 | <primary sortas="b-uuserver">uuserver</primary>
|
---|
885 | </indexterm>
|
---|
886 | </listitem>
|
---|
887 | </varlistentry>
|
---|
888 |
|
---|
889 |
|
---|
890 | <varlistentry id="libgssapi_krb5">
|
---|
891 | <term><filename class="libraryfile">libgssapi_krb5.so</filename></term>
|
---|
892 | <listitem>
|
---|
893 | <para>
|
---|
894 | contains the Generic Security Service Application Programming
|
---|
895 | Interface (GSSAPI) functions which provides security services
|
---|
896 | to callers in a generic fashion, supportable with a range of
|
---|
897 | underlying mechanisms and technologies and hence allowing
|
---|
898 | source-level portability of applications to different
|
---|
899 | environments.
|
---|
900 | </para>
|
---|
901 | <indexterm zone="mitkrb libgssapi_krb5">
|
---|
902 | <primary sortas="c-libgssapi_krb5">libgssapi_krb5.so</primary>
|
---|
903 | </indexterm>
|
---|
904 | </listitem>
|
---|
905 | </varlistentry>
|
---|
906 |
|
---|
907 | <varlistentry id="libkadm5clnt">
|
---|
908 | <term><filename class="libraryfile">libkadm5clnt.so</filename></term>
|
---|
909 | <listitem>
|
---|
910 | <para>
|
---|
911 | contains the administrative authentication and password checking
|
---|
912 | functions required by Kerberos 5 client-side programs.
|
---|
913 | </para>
|
---|
914 | <indexterm zone="mitkrb libkadm5clnt">
|
---|
915 | <primary sortas="c-libkadm5clnt">libkadm5clnt.so</primary>
|
---|
916 | </indexterm>
|
---|
917 | </listitem>
|
---|
918 | </varlistentry>
|
---|
919 |
|
---|
920 | <varlistentry id="libkadm5srv">
|
---|
921 | <term><filename class="libraryfile">libkadm5srv.so</filename></term>
|
---|
922 | <listitem>
|
---|
923 | <para>
|
---|
924 | contains the administrative authentication and password
|
---|
925 | checking functions required by Kerberos 5 servers.
|
---|
926 | </para>
|
---|
927 | <indexterm zone="mitkrb libkadm5srv">
|
---|
928 | <primary sortas="c-libkadm5srv">libkadm5srv.so</primary>
|
---|
929 | </indexterm>
|
---|
930 | </listitem>
|
---|
931 | </varlistentry>
|
---|
932 |
|
---|
933 | <varlistentry id="libkdb5">
|
---|
934 | <term><filename class="libraryfile">libkdb5.so</filename></term>
|
---|
935 | <listitem>
|
---|
936 | <para>
|
---|
937 | is a Kerberos 5 authentication/authorization database
|
---|
938 | access library.
|
---|
939 | </para>
|
---|
940 | <indexterm zone="mitkrb libkdb5">
|
---|
941 | <primary sortas="c-libkdb5">libkdb5.so</primary>
|
---|
942 | </indexterm>
|
---|
943 | </listitem>
|
---|
944 | </varlistentry>
|
---|
945 |
|
---|
946 | <varlistentry id="libkrad">
|
---|
947 | <term><filename class="libraryfile">libkrad.so</filename></term>
|
---|
948 | <listitem>
|
---|
949 | <para>
|
---|
950 | contains the internal support library for RADIUS functionality.
|
---|
951 | </para>
|
---|
952 | <indexterm zone="mitkrb libkrad">
|
---|
953 | <primary sortas="c-libkrad">libkrad.so</primary>
|
---|
954 | </indexterm>
|
---|
955 | </listitem>
|
---|
956 | </varlistentry>
|
---|
957 |
|
---|
958 | <varlistentry id="libkrb5">
|
---|
959 | <term><filename class="libraryfile">libkrb5.so</filename></term>
|
---|
960 | <listitem>
|
---|
961 | <para>
|
---|
962 | is an all-purpose <application>Kerberos 5</application> library.
|
---|
963 | </para>
|
---|
964 | <indexterm zone="mitkrb libkrb5">
|
---|
965 | <primary sortas="c-libkrb5">libkrb5.so</primary>
|
---|
966 | </indexterm>
|
---|
967 | </listitem>
|
---|
968 | </varlistentry>
|
---|
969 |
|
---|
970 | </variablelist>
|
---|
971 |
|
---|
972 | </sect2>
|
---|
973 |
|
---|
974 | </sect1>
|
---|