Changes in BOOK/boot/common/shadow.xml [83b1e52:94ff357]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/shadow.xml
r83b1e52 r94ff357 23 23 <title>Installation of Shadow</title> 24 24 25 <para os="b">Disable the installation of the <command>groups</command> and 26 <command>nologin</command> programs, as better versions 27 of these programs are provided by Coreutils and Util-linux:</para> 25 <para os="b">Disable the installation of the <command>groups</command> 26 program, as Coreutils provides a better version:</para> 28 27 29 28 <screen os="c"><userinput>cp -v src/Makefile.in{,.orig} 30 sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \ 31 src/Makefile.in.orig > src/Makefile.in</userinput></screen> 29 sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen> 32 30 33 31 <para os="d">Prepare Shadow for compilation:</para> 34 32 35 33 <screen os="e"><userinput>./configure --prefix=/tools \ 36 --build=${CLFS_HOST} --host=${CLFS_TARGET} </userinput></screen>34 --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen> 37 35 38 <para os="f">Tell Shadow to use <command>passwd</command> in 39 <filename class="directory">/tools/bin</filename>:</para> 36 <para os="f">The meaning of the configure options:</para> 40 37 41 <screen os="g"><userinput>cp -v config.h{,.orig} 42 sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&@' config.h.orig > config.h</userinput></screen> 38 <variablelist os="g"> 39 <varlistentry> 40 <term><parameter>--sysconfdir=/etc</parameter></term> 41 <listitem><para>Tells Shadow to install its configuration files into 42 <filename class="directory">/etc</filename>, rather than 43 <filename class="directory">/tools/etc</filename>.</para></listitem> 44 </varlistentry> 45 46 </variablelist> 43 47 44 <para os="h">Prevent Shadow from setting installed programs suid:</para>45 48 46 <screen os="i"><userinput>cp -v src/Makefile{,.orig} 47 sed 's/\(^suidu*bins = \).*/\1/' src/Makefile.orig > src/Makefile</userinput></screen> 49 <para os="h">Compile the package:</para> 48 50 49 <para os="j">Compile the package:</para>51 <screen os="i"><userinput>make</userinput></screen> 50 52 51 <screen os="k"><userinput>make</userinput></screen>53 <para os="j">This package does not come with a test suite.</para> 52 54 53 <para os=" l">Install the package:</para>55 <para os="k">Install the package:</para> 54 56 55 <screen os=" m"><userinput>makeinstall</userinput></screen>57 <screen os="l"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 56 58 57 59 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.