source: postlfs/security/mitkrb.xml@ a72cdddf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 a72cdddf was 77d57d12, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Tags

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

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