[3f8be484] | 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 |
|
---|
[566db8e] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/shadow.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Shadow</title>
|
---|
| 23 |
|
---|
[860fee5] | 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 |
|
---|
[121c48a] | 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>
|
---|
[860fee5] | 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>
|
---|
[3f8be484] | 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="shadow.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 43 |
|
---|
[4e0cb47] | 44 | <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 --sysconfdir=/etc \
|
---|
[7447a2c] | 45 | --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
|
---|
[3f8be484] | 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"
|
---|
[7447a2c] | 72 | href="shadow.xml"
|
---|
[3f8be484] | 73 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7447a2c] | 76 | href="shadow.xml"
|
---|
[3f8be484] | 77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[d1631d1] | 80 | href="shadow.xml"
|
---|
[3f8be484] | 81 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7447a2c] | 84 | href="../common/shadow.xml"
|
---|
[3f8be484] | 85 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[d1631d1] | 88 | href="../common/shadow.xml"
|
---|
[3f8be484] | 89 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 90 |
|
---|
[7447a2c] | 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 |
|
---|
[d1631d1] | 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
|
---|
[94e6142] | 104 | rm -v /lib64/libshadow.so
|
---|
| 105 | ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>
|
---|
[3f8be484] | 106 |
|
---|
| 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 108 | href="../common/shadow.xml"
|
---|
[d1631d1] | 109 | xpointer="xpointer(//*[@os='y'])"/>
|
---|
[3f8be484] | 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 112 | href="../common/shadow.xml"
|
---|
[d1631d1] | 113 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
[3f8be484] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 118 | href="../common/shadow.xml"
|
---|
| 119 | xpointer="xpointer(id('conf-shadow'))"/>
|
---|
| 120 |
|
---|
| 121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 122 | href="../common/shadow.xml"
|
---|
| 123 | xpointer="xpointer(id('root-password'))"/>
|
---|
| 124 |
|
---|
| 125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 126 | href="../common/shadow.xml"
|
---|
| 127 | xpointer="xpointer(id('contents-shadow'))"/>
|
---|
| 128 |
|
---|
| 129 | </sect1>
|
---|