source: postlfs/security/mitkrb.xml@ de70936

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since de70936 was 1e82e2cb, checked in by Xi Ruoyao <xry111@…>, 12 months ago

mitkrb: Simplify doc installation

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