source: BOOK/final-system/multilib/shadow-n32.xml@ f4d8f6e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f4d8f6e 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: 3.7 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-n32" role="wrap">
9 <?dbhtml filename="shadow-n32.html"?>
10
11 <title>Shadow-&shadow-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-shadow-n32">
14 <primary sortas="a-Shadow">Shadow</primary>
15 <secondary>N32</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/shadow.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Shadow</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="shadow.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="shadow.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
33 <note os="a">
34 <para>If you would like to enforce the use of strong passwords,
35 refer to <ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/>
36 for installing Cracklib prior to building Shadow. Then add
37 <parameter>--with-libcrack</parameter> to the <command>configure</command>
38 command below.</para>
39
40 <para>You will also need to use the follow sed after the configuration command
41 to make sure the correct library is linked.</para>
42
43 <screen role="nodump"><userinput>sed -i libtool \
44 -e 's@\(^sys_lib_search_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@g' \
45 -e 's@\(^sys_lib_dlsearch_path_spec=\).*@\1"/lib32 /usr/lib32 /usr/local/lib32"@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 ${BUILDN32}" ./configure --libdir=/lib32 --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="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
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 /lib32/libshadow.*a /usr/lib32
104rm -v /lib32/libshadow.so
105ln -svf ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="content">
110 <title/>
111
112 <para>Details on this package are located in <xref
113 linkend="contents-shadow" role="."/></para>
114
115 </sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.