From 419dd500f6cf2064c9ff4d7273fa3433891eb0f5 Mon Sep 17 00:00:00 2001 From: Larry Lawrence Date: Sat, 27 Sep 2003 02:37:14 +0000 Subject: [PATCH] shadow/pam patches git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1217 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- appendices/glossary.xml | 3 +++ postlfs/security/pam/linux_pam-inst.xml | 3 ++- postlfs/security/pam/linux_pam-intro.xml | 7 +++++++ postlfs/security/security.xml | 4 ++-- postlfs/security/shadow.xml | 11 ++++++++--- postlfs/security/shadow/shadow-inst.xml | 4 ++-- x/lib/freetype2.xml | 4 ++-- x/lib/freetype2/freetype2-config.xml | 2 +- x/lib/freetype2/freetype2-desc.xml | 6 +++--- x/lib/freetype2/freetype2-inst.xml | 4 ++-- x/lib/freetype2/freetype2-intro.xml | 4 ++-- 11 files changed, 34 insertions(+), 18 deletions(-) diff --git a/appendices/glossary.xml b/appendices/glossary.xml index b995b0ba31..017e6112ed 100644 --- a/appendices/glossary.xml +++ b/appendices/glossary.xml @@ -55,6 +55,9 @@ otherterm="gSMB">SMB CVS Concurrent Versions System +DES +Data Encryption Standard + DHCP Dynamic Host Configuration Protocol diff --git a/postlfs/security/pam/linux_pam-inst.xml b/postlfs/security/pam/linux_pam-inst.xml index eb79f1ed3b..8a077abc09 100644 --- a/postlfs/security/pam/linux_pam-inst.xml +++ b/postlfs/security/pam/linux_pam-inst.xml @@ -5,7 +5,8 @@ Install Linux-PAM by running the following commands: -./configure --enable-static-libpam --with-mailspool=/var/mail \ +patch -Np1 -i ../Linux-PAM-0.77-linkage-1.patch && +./configure --enable-static-libpam --with-mailspool=/var/mail \ --enable-read-both-confs --sysconfdir=/etc && make && make install && diff --git a/postlfs/security/pam/linux_pam-intro.xml b/postlfs/security/pam/linux_pam-intro.xml index f22ca7cbc1..f6bf35b76a 100644 --- a/postlfs/security/pam/linux_pam-intro.xml +++ b/postlfs/security/pam/linux_pam-intro.xml @@ -19,6 +19,13 @@ url="&Linux_PAM-download-ftp;"/> &Linux_PAM-time; +Additional download + +Required patch: + + + + <application>Linux-<acronym>PAM</acronym></application> dependencies Optional diff --git a/postlfs/security/security.xml b/postlfs/security/security.xml index be16632afa..2ad2bdc5ee 100644 --- a/postlfs/security/security.xml +++ b/postlfs/security/security.xml @@ -3,7 +3,7 @@ Security Security takes many forms in a computing environment. This chapter -gives examples of three different types of security; access, prevention +gives examples of three different types of security: access, prevention and detection. Access for users is usually handled by login or an @@ -14,7 +14,7 @@ can also be secured by policies set by iptables, commonly referred to as a firewall. Prevention of breaches, like a trojan, are assisted by applications like -gnupg, specifically the ability to confirm signed +GnuPG, specifically the ability to confirm signed packages, which prevents modification of the tarball after the packager creates it. diff --git a/postlfs/security/shadow.xml b/postlfs/security/shadow.xml index f7dca4dbdb..16db1f634c 100644 --- a/postlfs/security/shadow.xml +++ b/postlfs/security/shadow.xml @@ -1,5 +1,8 @@ +Shadow-4.0.3 + + Configuring shadow Shadow's Configuration File @@ -8,13 +11,15 @@ Enabling MD5 Passwords -To enable MD5 Passwords, modify the line in the login.defs file -that reads: +To enable MD5 Passwords, modify the line in the +login.defs file that reads: #MD5_CRYPT_ENAB no to read: MD5_CRYPT_ENAB yes Passwords created after this change will be encrypted using MD5 -instead of using DES encryption. +(Message-Degest Algroithm) instead of using DES encryption. + + &shadow-inst; &shadow-exp; diff --git a/postlfs/security/shadow/shadow-inst.xml b/postlfs/security/shadow/shadow-inst.xml index 0dad324e20..7fa83f50cb 100644 --- a/postlfs/security/shadow/shadow-inst.xml +++ b/postlfs/security/shadow/shadow-inst.xml @@ -15,8 +15,8 @@ Reinstall shadow by running the following commands: -patch -Np1 -i ../shadow-4.0.3-pamfix-1.patch && -LDFLAGS="-lpam -lpam_misc" ./configure --prefix=/usr --libdir=/usr/lib \ +patch -Np1 -i ../shadow-4.0.3-pam-2.patch && +./configure --prefix=/usr --libdir=/usr/lib \ --enable-shared --with-libpam && make && make install && diff --git a/x/lib/freetype2.xml b/x/lib/freetype2.xml index 561a60b183..f6c9603d0f 100644 --- a/x/lib/freetype2.xml +++ b/x/lib/freetype2.xml @@ -1,6 +1,6 @@ - + -freetype-&freetype2-version; +FreeType-&freetype2-version; &freetype2-intro; &freetype2-inst; diff --git a/x/lib/freetype2/freetype2-config.xml b/x/lib/freetype2/freetype2-config.xml index 5d6e3f3bff..de53ef5fcf 100644 --- a/x/lib/freetype2/freetype2-config.xml +++ b/x/lib/freetype2/freetype2-config.xml @@ -1,5 +1,5 @@ -Configuring <application>freetype2</application> +Configuring <application>FreeType2</application> Configuration Information diff --git a/x/lib/freetype2/freetype2-desc.xml b/x/lib/freetype2/freetype2-desc.xml index 2e21f379e9..38d3ea3c57 100644 --- a/x/lib/freetype2/freetype2-desc.xml +++ b/x/lib/freetype2/freetype2-desc.xml @@ -1,15 +1,15 @@ Contents -The freetype2 package contains +The FreeType2 package contains libfreetype libraries. Description freetype2 libraries -freetype2 libraries add TrueType font capabilities to -XFree86. +freetype2 libraries add TrueType font +capabilities to XFree86. diff --git a/x/lib/freetype2/freetype2-inst.xml b/x/lib/freetype2/freetype2-inst.xml index b18b418d25..f925f446cb 100644 --- a/x/lib/freetype2/freetype2-inst.xml +++ b/x/lib/freetype2/freetype2-inst.xml @@ -1,7 +1,7 @@ -Installation of <application>freetype2</application> +Installation of <application>FreeType2</application> -Install freetype2 by running the following +Install FreeType2 by running the following commands: cp include/freetype/config/ftoption.h include/freetype/config/ftoption.h.orig && diff --git a/x/lib/freetype2/freetype2-intro.xml b/x/lib/freetype2/freetype2-intro.xml index ad008caba8..b955d18599 100644 --- a/x/lib/freetype2/freetype2-intro.xml +++ b/x/lib/freetype2/freetype2-intro.xml @@ -1,7 +1,7 @@ -Introduction to <application>freetype2</application> +Introduction to <application>FreeType2</application> -The freetype2 package contains a library to +The FreeType2 package contains a library to allow XFree86 to properly render TrueType fonts. Package information