source: postlfs/security/mitkrb.xml@ 90cb5d6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 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 nosym 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 90cb5d6 was 90cb5d6, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Finish tagging Part II. Post LFS Configuration and Extra Software
Archive unussed libxfcegui4

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

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