From 1ef7d448f0f954af69ad9e34df2cd130fb3bd402 Mon Sep 17 00:00:00 2001 From: Jim Gifford Date: Tue, 22 Mar 2005 06:31:29 +0000 Subject: Fixed: shadow lastlog issue git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4794 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter03/patches.xml | 7 +++++++ chapter06/shadow.xml | 7 +++++++ general.ent | 4 ++-- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 90e886395..0530aeed9 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -62,6 +62,7 @@ first a summary, then a detailed log. bash-3.0-avoid_WCONTINUED-1.patch Hotplug 2004_09_23 Libol 0.3.15 +shadow-4.0.7-fix_lastlog-1.patch Syslog-ng 1.6.6 util-linux-2.12p-cramfs-1.patch vim-6.0-security_fix-1.patch @@ -80,6 +81,8 @@ first a summary, then a detailed log. +March 21, 2005 [jim]: Added patch to fix issue with shadow and lastlog. + March 19, 2005 [jim]: Added patch to fix issue with tar -S March 19, 2005 [matt]: Removed references to kernel security diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 5a7ef4f08..d18cf6aa4 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -120,6 +120,13 @@ needed to build an LFS system: + +Shadow Lastlog Fix Patch - 1 KB: + + + + + Tar Sparse Fix Patch - 1 KB: diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index fca81f9ae..a4e427536 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -29,6 +29,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed Installation of Shadow +Shadow fails to update the time of last login as noted by lastlog +when logging into a regular console. The Port (tty) column does get updated. +Remote logins and xterm logins seem to be not be broken, just console. +The following patch properly fixes this issue: + +patch -Np1 -i ../shadow-&shadow-version;-fix_lastlog-1.patch + Prepare Shadow for compilation: ./configure --libdir=/lib --enable-shared diff --git a/general.ent b/general.ent index d5dccfc41..631452bf2 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + -- cgit v1.2.3-54-g00ecf