[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 | |
---|
[e0e40d3] | 44 | <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \ |
---|
[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" |
---|
| 84 | href="../common/shadow.xml" |
---|
| 85 | xpointer="xpointer(//*[@os='m'])"/> |
---|
| 86 | |
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 88 | href="../common/shadow.xml" |
---|
| 89 | xpointer="xpointer(//*[@os='n'])"/> |
---|
| 90 | |
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 92 | href="../common/shadow.xml" |
---|
| 93 | xpointer="xpointer(//*[@os='o'])"/> |
---|
| 94 | |
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 96 | href="../common/shadow.xml" |
---|
| 97 | xpointer="xpointer(//*[@os='p'])"/> |
---|
| 98 | |
---|
| 99 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 100 | href="../common/shadow.xml" |
---|
| 101 | xpointer="xpointer(//*[@os='q'])"/> |
---|
| 102 | |
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[7447a2c] | 104 | href="../common/shadow.xml" |
---|
[3f8be484] | 105 | xpointer="xpointer(//*[@os='r'])"/> |
---|
| 106 | |
---|
| 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[7447a2c] | 108 | href="../common/shadow.xml" |
---|
[3f8be484] | 109 | xpointer="xpointer(//*[@os='s'])"/> |
---|
| 110 | |
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[d1631d1] | 112 | href="../common/shadow.xml" |
---|
[3f8be484] | 113 | xpointer="xpointer(//*[@os='t'])"/> |
---|
| 114 | |
---|
[7447a2c] | 115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 116 | href="shadow.xml" |
---|
| 117 | xpointer="xpointer(//*[@os='u'])"/> |
---|
| 118 | |
---|
| 119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 120 | href="shadow.xml" |
---|
| 121 | xpointer="xpointer(//*[@os='v'])"/> |
---|
| 122 | |
---|
[d1631d1] | 123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 124 | href="shadow.xml" |
---|
| 125 | xpointer="xpointer(//*[@os='w'])"/> |
---|
| 126 | |
---|
| 127 | <screen os="x"><userinput>mv -v /lib64/libshadow.*a /usr/lib64 |
---|
[94e6142] | 128 | rm -v /lib64/libshadow.so |
---|
| 129 | ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen> |
---|
[3f8be484] | 130 | |
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 132 | href="../common/shadow.xml" |
---|
[d1631d1] | 133 | xpointer="xpointer(//*[@os='y'])"/> |
---|
[3f8be484] | 134 | |
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 136 | href="../common/shadow.xml" |
---|
[d1631d1] | 137 | xpointer="xpointer(//*[@os='z'])"/> |
---|
[3f8be484] | 138 | |
---|
| 139 | </sect2> |
---|
| 140 | |
---|
| 141 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 142 | href="../common/shadow.xml" |
---|
| 143 | xpointer="xpointer(id('conf-shadow'))"/> |
---|
| 144 | |
---|
| 145 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 146 | href="../common/shadow.xml" |
---|
| 147 | xpointer="xpointer(id('root-password'))"/> |
---|
| 148 | |
---|
| 149 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 150 | href="../common/shadow.xml" |
---|
| 151 | xpointer="xpointer(id('contents-shadow'))"/> |
---|
| 152 | |
---|
| 153 | </sect1> |
---|