source: postlfs/security/mitkrb.xml@ 0e16b36

trunk
Last change on this file since 0e16b36 was 57791dd, checked in by Douglas R. Reno <renodr@…>, 5 weeks ago

Tags

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