source: postlfs/security/mitkrb.xml@ fa2c610

10.1 11.0 11.1 11.2 11.3 12.0 12.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 fa2c610 was fa2c610, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to vala-0.50.2
Update to cmake-3.19.0
Update to libksba-1.5.0
Update to tcsh-6.22.03
Update to umockdev-0.15.1
Update to krb5-1.18.3 (Security Update)
Update to Net-DNS-1.29 (Perl Module)

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

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