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