[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-shadow" role="wrap">
|
---|
| 9 | <?dbhtml filename="shadow-64bit.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Shadow-&shadow-version; 64 Bit</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-shadow">
|
---|
| 14 | <primary sortas="a-Shadow">Shadow</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[a1a7bae] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/shadow.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Shadow</title>
|
---|
| 23 |
|
---|
[4d4f8776] | 24 | <note os="a">
|
---|
| 25 | <para>If you would like to enforce the use of strong passwords,
|
---|
| 26 | refer to <ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/>
|
---|
| 27 | for installing Cracklib prior to building Shadow. Then add
|
---|
| 28 | <parameter>--with-libcrack</parameter> to the <command>configure</command>
|
---|
| 29 | command below.</para>
|
---|
| 30 |
|
---|
[4394b64] | 31 | <para>You will also need to use the following sed after the
|
---|
| 32 | <command>configure</command> commmand
|
---|
| 33 | to make sure the correct library is linked:</para>
|
---|
[4d4f8776] | 34 |
|
---|
| 35 | <screen><userinput>sed -i libtool \
|
---|
| 36 | -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g' \
|
---|
| 37 | -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g'</userinput></screen>
|
---|
| 38 | </note>
|
---|
[bf8c11f] | 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="shadow.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 43 |
|
---|
[b4a2602] | 44 | <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 --sysconfdir=/etc \
|
---|
[e7e4f53] | 45 | --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
|
---|
[bf8c11f] | 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="shadow.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="shadow.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 54 |
|
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 56 | href="shadow.xml"
|
---|
| 57 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="shadow.xml"
|
---|
| 61 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 62 |
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 64 | href="shadow.xml"
|
---|
| 65 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 66 |
|
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 68 | href="shadow.xml"
|
---|
| 69 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[e7e4f53] | 72 | href="shadow.xml"
|
---|
[bf8c11f] | 73 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[e7e4f53] | 76 | href="shadow.xml"
|
---|
[bf8c11f] | 77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[b6f2a61] | 80 | href="shadow.xml"
|
---|
[bf8c11f] | 81 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[e7e4f53] | 84 | href="../common/shadow.xml"
|
---|
[bf8c11f] | 85 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[b6f2a61] | 88 | href="../common/shadow.xml"
|
---|
[bf8c11f] | 89 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 90 |
|
---|
[e7e4f53] | 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 92 | href="shadow.xml"
|
---|
| 93 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 94 |
|
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 96 | href="shadow.xml"
|
---|
| 97 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 98 |
|
---|
[b6f2a61] | 99 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 100 | href="shadow.xml"
|
---|
| 101 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
| 102 |
|
---|
| 103 | <screen os="x"><userinput>mv -v /lib64/libshadow.*a /usr/lib64
|
---|
[dd9906e] | 104 | rm -v /lib64/libshadow.so
|
---|
| 105 | ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>
|
---|
[bf8c11f] | 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 110 | href="../common/shadow.xml"
|
---|
| 111 | xpointer="xpointer(id('conf-shadow'))"/>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 114 | href="../common/shadow.xml"
|
---|
| 115 | xpointer="xpointer(id('root-password'))"/>
|
---|
| 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 118 | href="../common/shadow.xml"
|
---|
| 119 | xpointer="xpointer(id('contents-shadow'))"/>
|
---|
| 120 |
|
---|
| 121 | </sect1>
|
---|