source: BOOK/final-system/multilib/shadow-64bit.xml@ 27c361a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 27c361a was 4f26def, checked in by Jim Gifford <clfs@…>, 18 years ago

r5464@server: jim | 2006-08-31 11:43:23 -0700
Added Shadow patch to fix useradd.

  • Property mode set to 100644
File size: 4.5 KB
Line 
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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="shadow.xml"
26 xpointer="xpointer(//*[@os='p1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="shadow.xml"
30 xpointer="xpointer(//*[@os='p2'])"/>
31
32 <note os="a">
33 <para>If you would like to enforce the use of strong passwords,
34 refer to <ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/>
35 for installing Cracklib prior to building Shadow. Then add
36 <parameter>--with-libcrack</parameter> to the <command>configure</command>
37 command below.</para>
38
39 <para>You will also need to use the following sed after the
40 <command>configure</command> commmand
41 to make sure the correct library is linked:</para>
42
43 <screen><userinput>sed -i libtool \
44 -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g' \
45 -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib64 /usr/lib64 /usr/local/lib64"@g'</userinput></screen>
46 </note>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="shadow.xml"
50 xpointer="xpointer(//*[@os='b'])"/>
51
52<screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 --sysconfdir=/etc \
53 --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="shadow.xml"
57 xpointer="xpointer(//*[@os='d'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="shadow.xml"
61 xpointer="xpointer(//*[@os='e'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="shadow.xml"
65 xpointer="xpointer(//*[@os='f'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="shadow.xml"
69 xpointer="xpointer(//*[@os='g'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="shadow.xml"
73 xpointer="xpointer(//*[@os='h'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="shadow.xml"
77 xpointer="xpointer(//*[@os='i'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="shadow.xml"
81 xpointer="xpointer(//*[@os='j'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="shadow.xml"
85 xpointer="xpointer(//*[@os='k'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="shadow.xml"
89 xpointer="xpointer(//*[@os='l'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="../common/shadow.xml"
93 xpointer="xpointer(//*[@os='m'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="../common/shadow.xml"
97 xpointer="xpointer(//*[@os='n'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
100 href="../common/shadow.xml"
101 xpointer="xpointer(//*[@os='s'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../common/shadow.xml"
105 xpointer="xpointer(//*[@os='t'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="shadow.xml"
109 xpointer="xpointer(//*[@os='u'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="shadow.xml"
113 xpointer="xpointer(//*[@os='v'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="shadow.xml"
117 xpointer="xpointer(//*[@os='w'])"/>
118
119<screen os="x"><userinput>mv -v /lib64/libshadow.*a /usr/lib64
120rm -v /lib64/libshadow.so
121ln -svf ../../lib64/libshadow.so.0 /usr/lib64/libshadow.so</userinput></screen>
122
123 </sect2>
124
125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="../common/shadow.xml"
127 xpointer="xpointer(id('conf-shadow'))"/>
128
129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="../common/shadow.xml"
131 xpointer="xpointer(id('root-password'))"/>
132
133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
134 href="../common/shadow.xml"
135 xpointer="xpointer(id('contents-shadow'))"/>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.