1 | <sect2>
|
---|
2 | <title>Command explanations</title>
|
---|
3 |
|
---|
4 | <para><parameter>--libexecdir=/usr/sbin</parameter>:
|
---|
5 | This switch puts the daemon programs into <filename
|
---|
6 | class="directory">/usr/sbin</filename>.
|
---|
7 | </para>
|
---|
8 |
|
---|
9 | <note><para>
|
---|
10 | If you want to preserve all your existing Inetutils package daemons,
|
---|
11 | install the Heimdal daemons into <filename
|
---|
12 | class="directory">/usr/sbin/heimdal</filename> (or wherever you want).
|
---|
13 | Since these programs will be called from <command>(x)inetd</command> or
|
---|
14 | <command>rc</command> scripts, it really doesn't matter where they live,
|
---|
15 | as long as they are correctly specified in the
|
---|
16 | <filename>/etc/(x)inetd.conf</filename> file and <command>rc</command>
|
---|
17 | scripts. If you choose something other than <filename
|
---|
18 | class="directory">/usr/sbin</filename>, you may want to move some of the
|
---|
19 | user programs (such as <command>kadmin</command>) to <filename
|
---|
20 | class="directory">/usr/sbin</filename> manually.
|
---|
21 | </para></note>
|
---|
22 |
|
---|
23 | <para>
|
---|
24 | <screen><command>mv /bin/login /bin/login.shadow
|
---|
25 | mv /bin/su /bin/su.coreutils
|
---|
26 | mv /usr/bin/{login,su} /bin
|
---|
27 | ln -sf ../../bin/login /usr/bin</command></screen>
|
---|
28 | The <command>login</command> and <command>su</command> programs
|
---|
29 | installed by Heimdal belong in the <filename
|
---|
30 | class="directory">/bin</filename> directory. The
|
---|
31 | <command>login</command> program is symlinked because Heimdal is expecting
|
---|
32 | to find it in <filename class="directory">/usr/bin</filename>. We
|
---|
33 | preserve the old executables before the move to keep things sane should
|
---|
34 | breaks occur.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | <para>
|
---|
38 | <screen><command>mv /usr/lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /lib
|
---|
39 | mv /usr/lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /lib
|
---|
40 | mv /usr/lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /lib
|
---|
41 | mv /usr/lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /lib
|
---|
42 | ln -sf ../../lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /usr/lib
|
---|
43 | ln -sf ../../lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /usr/lib
|
---|
44 | ln -sf ../../lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /usr/lib
|
---|
45 | ln -sf ../../lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /usr/lib</command></screen>
|
---|
46 | The <command>login</command> and <command>su</command> programs
|
---|
47 | installed by Heimdal link against Heimdal libraries as well as crypto
|
---|
48 | and db libraries. We move these libraries to <filename
|
---|
49 | class="directory">/lib</filename> to be <acronym>FHS</acronym>
|
---|
50 | compliant and in case when <filename
|
---|
51 | class="directory">/usr</filename> is located on a separate partition which
|
---|
52 | may not always be mounted.
|
---|
53 | </para>
|
---|
54 |
|
---|
55 | </sect2>
|
---|