- Timestamp:
- Aug 17, 2014, 5:23:49 AM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- cec0a99
- Parents:
- c02c97a
- git-author:
- Chris Staub <chris@…> (08/17/14 05:23:33)
- git-committer:
- Chris Staub <chris@…> (08/17/14 05:23:49)
- Location:
- BOOK
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/shadow.xml
rc02c97a r7b1982e 23 23 <title>Installation of Shadow</title> 24 24 25 <para os="a">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="a">Run the following <command>sed</command> command to disable 26 the installation of the <command>groups</command> and 27 <command>nologin</command> programs, as better versions of these programs 28 are provided by other packages, and prevent Shadow from setting the suid 29 bit on its installed programs:</para> 28 30 29 31 <screen os="b"><userinput>cp -v src/Makefile.in{,.orig} 30 sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \ 32 sed -e 's/groups$(EXEEXT) //' \ 33 -e 's/= nologin$(EXEEXT)/= /' \ 34 -e 's/\(^suidu*bins = \).*/\1/' \ 31 35 src/Makefile.in.orig > src/Makefile.in</userinput></screen> 32 36 33 <para os="c">Prevent Shadow from setting installed programs suid:</para> 34 35 <screen os="d"><userinput>cp -v src/Makefile.in{,.orig} 36 sed 's/\(^suidu*bins = \).*/\1/' src/Makefile.in.orig > src/Makefile.in</userinput></screen> 37 38 <para os="e">Tell Shadow to use <command>passwd</command> in 37 <para os="c">Tell Shadow to use <command>passwd</command> in 39 38 <filename class="directory">/tools/bin</filename>:</para> 40 39 41 <screen os=" f"><userinput>cat > config.cache << "EOF"40 <screen os="d"><userinput>cat > config.cache << "EOF" 42 41 shadow_cv_passwd_dir=/tools/bin 43 42 EOF</userinput></screen> 44 43 45 <para os=" g">Prepare Shadow for compilation:</para>44 <para os="e">Prepare Shadow for compilation:</para> 46 45 47 <screen os=" h"><userinput>./configure --prefix=/tools \46 <screen os="f"><userinput>./configure --prefix=/tools \ 48 47 --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen> 49 48 50 <para os=" i">Compile the package:</para>49 <para os="g">Compile the package:</para> 51 50 52 <screen os=" j"><userinput>make</userinput></screen>51 <screen os="h"><userinput>make</userinput></screen> 53 52 54 <para os=" k">Install the package:</para>53 <para os="i">Install the package:</para> 55 54 56 <screen os=" l"><userinput>make install</userinput></screen>55 <screen os="j"><userinput>make install</userinput></screen> 57 56 58 57 </sect2> -
BOOK/introduction/common/changelog.xml
rc02c97a r7b1982e 38 38 39 39 <listitem> 40 <para>17 August 2014</para> 41 <itemizedlist> 42 <listitem> 43 <para>[Chris] - Combined Makefile modification commands in 44 Boot section Shadow install into one command.</para> 45 </listitem> 46 </itemizedlist> 47 </listitem> 48 49 <listitem> 40 50 <para>14 August 2014</para> 41 51 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.