aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>