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