From 98fcc378d5213940ec51b75663afe3e68e5626f3 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Fri, 31 Dec 2004 06:45:17 +0000 Subject: 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 --- chapter01/changelog.xml | 3 +++ 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. +December 30th, 2004 [jeremy]: Added Archaic's sed to stop +installation of shadow's groups binary, as well as it's man page. + December 30th, 2004 [jeremy]: Added Vim security vulnerability patch - Thanks Matt December 30th, 2004 [jeremy]: Added Linux kernel security vulnerability fix into chapter 8 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 @@ ./configure --libdir=/lib --enable-shared +Remove the installation of the groups program, and it's man page: + +sed -i 's/groups$(EXEEXT) //' src/Makefile +sed -i '/groups/d' man/Makefile + Compile the package: make @@ -61,10 +66,6 @@ ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so mkdir /etc/default -Remove a program: - -rm /bin/groups - -- cgit v1.2.3-54-g00ecf