glfs/postlfs/security/heimdal/heimdal-exp.xml
Igor Živković 3be9cf073f applied Randy's heimdal update patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2128 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-09 05:47:03 +00:00

56 lines
2.4 KiB
XML

<sect2>
<title>Command explanations</title>
<para><parameter>--libexecdir=/usr/sbin</parameter>:
This switch puts the daemon programs into <filename
class="directory">/usr/sbin</filename>.
</para>
<note><para>
If you want to preserve all your existing Inetutils package daemons,
install the Heimdal daemons into <filename
class="directory">/usr/sbin/heimdal</filename> (or wherever you want).
Since these programs will be called from <command>(x)inetd</command> or
<command>rc</command> scripts, it really doesn't matter where they live,
as long as they are correctly specified in the
<filename>/etc/(x)inetd.conf</filename> file and <command>rc</command>
scripts. If you choose something other than <filename
class="directory">/usr/sbin</filename>, you may want to move some of the
user programs (such as <command>kadmin</command>) to <filename
class="directory">/usr/sbin</filename> manually.
</para></note>
<para>
<screen><command>mv /bin/login /bin/login.shadow
mv /bin/su /bin/su.coreutils
mv /usr/bin/{login,su} /bin
ln -sf ../../bin/login /usr/bin</command></screen>
The <command>login</command> and <command>su</command> programs
installed by Heimdal belong in the <filename
class="directory">/bin</filename> directory. The
<command>login</command> program is symlinked because Heimdal is expecting
to find it in <filename class="directory">/usr/bin</filename>. We
preserve the old executables before the move to keep things sane should
breaks occur.
</para>
<para>
<screen><command>mv /usr/lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /lib
mv /usr/lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /lib
mv /usr/lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /lib
mv /usr/lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /lib
ln -sf ../../lib/lib{otp.so.0,otp.so.0.1.4,kafs.so.0,kafs.so.0.4.0} /usr/lib
ln -sf ../../lib/lib{krb5.so.17,krb5.so.17.3.0,asn1.so.6,asn1.so.6.0.2} /usr/lib
ln -sf ../../lib/lib{roken.so.16,roken.so.16.0.3,crypto.so.0.9.7} /usr/lib
ln -sf ../../lib/lib{com_err.so.2,com_err.so.2.1,db-4.1.so} /usr/lib</command></screen>
The <command>login</command> and <command>su</command> programs
installed by Heimdal link against Heimdal libraries as well as crypto
and db libraries. We move these libraries to <filename
class="directory">/lib</filename> to be <acronym>FHS</acronym>
compliant and in case when <filename
class="directory">/usr</filename> is located on a separate partition which
may not always be mounted.
</para>
</sect2>