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 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="../common/shadow.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
20 |
|
---|
21 | <sect2 role="installation">
|
---|
22 | <title>Installation of Shadow</title>
|
---|
23 |
|
---|
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 |
|
---|
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>
|
---|
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>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="shadow.xml"
|
---|
42 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
43 |
|
---|
44 | <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \
|
---|
45 | --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
|
---|
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"
|
---|
72 | href="shadow.xml"
|
---|
73 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
74 |
|
---|
75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
76 | href="shadow.xml"
|
---|
77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
78 |
|
---|
79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
80 | href="shadow.xml"
|
---|
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"
|
---|
104 | href="../common/shadow.xml"
|
---|
105 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
106 |
|
---|
107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
108 | href="../common/shadow.xml"
|
---|
109 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
110 |
|
---|
111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
112 | href="../common/shadow.xml"
|
---|
113 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
114 |
|
---|
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 |
|
---|
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
|
---|
128 | rm -v /lib64/libshadow.so
|
---|
129 | ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>
|
---|
130 |
|
---|
131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
132 | href="../common/shadow.xml"
|
---|
133 | xpointer="xpointer(//*[@os='y'])"/>
|
---|
134 |
|
---|
135 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
136 | href="../common/shadow.xml"
|
---|
137 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
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>
|
---|