aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2005-03-22 06:31:29 +0000
committerJim Gifford <jim@linuxfromscratch.org>2005-03-22 06:31:29 +0000
commit1ef7d448f0f954af69ad9e34df2cd130fb3bd402 (patch)
tree7ab876dd17576f9e2764a04a1491d951188c49f2 /chapter06
parentfa85c5e5c9a85f9d1252f3f93afc6ccd52f928dc (diff)
Fixed: shadow lastlog issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4794 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml7
1 files changed, 7 insertions, 0 deletions
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</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Shadow</title>
+<para>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:</para>
+
+<screen><userinput>patch -Np1 -i ../shadow-&shadow-version;-fix_lastlog-1.patch</userinput></screen>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>