diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-31 06:45:17 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-31 06:45:17 +0000 |
commit | 98fcc378d5213940ec51b75663afe3e68e5626f3 (patch) | |
tree | d120c105b94f2b2f2f41ae5cedc4c98ddf17c2c1 | |
parent | 008a51dd95b72c93b27ed8a07aad35e51ca811eb (diff) |
Added Archaic's sed to remove installation of the groups binary from shadow - see LFS-Dev for more info.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/shadow.xml | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a9d17e26b..c654dca77 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -49,6 +49,9 @@ of the LFS Book.</para> </itemizedlist> </listitem> +<listitem><para>December 30th, 2004 [jeremy]: Added Archaic's sed to stop +installation of shadow's groups binary, as well as it's man page.</para></listitem> + <listitem><para>December 30th, 2004 [jeremy]: Added Vim security vulnerability patch - Thanks Matt</para></listitem> <listitem><para>December 30th, 2004 [jeremy]: Added Linux kernel security vulnerability fix into chapter 8</para></listitem> diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 34a386534..361b90e94 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -26,6 +26,11 @@ <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> +<para>Remove the installation of the groups program, and it's man page:</para> + +<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile +sed -i '/groups/d' man/Makefile</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> @@ -61,10 +66,6 @@ ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> <screen><userinput>mkdir /etc/default</userinput></screen> -<para>Remove a program:</para> - -<screen><userinput>rm /bin/groups</userinput></screen> - </sect2> |