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 configuration command
|
---|
32 | to make sure the correct library is linked.</para>
|
---|
33 |
|
---|
34 | <screen><userinput>sed -i libtool \
|
---|
35 | -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g' \
|
---|
36 | -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g'</userinput></screen>
|
---|
37 | </note>
|
---|
38 |
|
---|
39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
40 | href="shadow.xml"
|
---|
41 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
42 |
|
---|
43 | <screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \
|
---|
44 | --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
47 | href="shadow.xml"
|
---|
48 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
49 |
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
51 | href="shadow.xml"
|
---|
52 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="shadow.xml"
|
---|
56 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="shadow.xml"
|
---|
60 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
61 |
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="shadow.xml"
|
---|
64 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
65 |
|
---|
66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
67 | href="shadow.xml"
|
---|
68 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
69 |
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
71 | href="shadow.xml"
|
---|
72 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="shadow.xml"
|
---|
76 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
77 |
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
79 | href="shadow.xml"
|
---|
80 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
81 |
|
---|
82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
83 | href="../common/shadow.xml"
|
---|
84 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
85 |
|
---|
86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
87 | href="../common/shadow.xml"
|
---|
88 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
89 |
|
---|
90 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
91 | href="../common/shadow.xml"
|
---|
92 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
93 |
|
---|
94 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
95 | href="../common/shadow.xml"
|
---|
96 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
97 |
|
---|
98 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
99 | href="../common/shadow.xml"
|
---|
100 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
101 |
|
---|
102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
103 | href="../common/shadow.xml"
|
---|
104 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
105 |
|
---|
106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
107 | href="../common/shadow.xml"
|
---|
108 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
109 |
|
---|
110 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
111 | href="../common/shadow.xml"
|
---|
112 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
113 |
|
---|
114 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
115 | href="shadow.xml"
|
---|
116 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
117 |
|
---|
118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
119 | href="shadow.xml"
|
---|
120 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
121 |
|
---|
122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
123 | href="shadow.xml"
|
---|
124 | xpointer="xpointer(//*[@os='w'])"/>
|
---|
125 |
|
---|
126 | <screen os="x"><userinput>mv -v /lib64/libshadow.*a /usr/lib64
|
---|
127 | rm -v /lib64/libshadow.so
|
---|
128 | ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
131 | href="../common/shadow.xml"
|
---|
132 | xpointer="xpointer(//*[@os='y'])"/>
|
---|
133 |
|
---|
134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
135 | href="../common/shadow.xml"
|
---|
136 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
141 | href="../common/shadow.xml"
|
---|
142 | xpointer="xpointer(id('conf-shadow'))"/>
|
---|
143 |
|
---|
144 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
145 | href="../common/shadow.xml"
|
---|
146 | xpointer="xpointer(id('root-password'))"/>
|
---|
147 |
|
---|
148 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
149 | href="../common/shadow.xml"
|
---|
150 | xpointer="xpointer(id('contents-shadow'))"/>
|
---|
151 |
|
---|
152 | </sect1>
|
---|