source: postlfs/security/mitkrb.xml@ d24ce70c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 d24ce70c was d24ce70c, checked in by Pierre Labastie <pieere@…>, 7 years ago

Add a patch for MIT Kerberos, so that the daemons start on IPv4 only hosts.
Fix also krb5.conf syntax for the logging section

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

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