source: postlfs/security/mitkrb.xml@ fa50ece

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fa50ece was fa50ece, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to krb5-1.18
Tags for the rest of the packages I build before X

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22716 af4574ff-66df-0310-9fd7-8a98e5e911e0

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