Browse Source

Fixed: shadow lastlog issue

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4794 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jim Gifford 20 years ago
parent
commit
1ef7d448f0
4 changed files with 19 additions and 2 deletions
  1. 3 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 7 0
      chapter06/shadow.xml
  4. 2 2
      general.ent

+ 3 - 0
chapter01/changelog.xml

@@ -62,6 +62,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>bash-3.0-avoid_WCONTINUED-1.patch</para></listitem>
 <listitem><para>bash-3.0-avoid_WCONTINUED-1.patch</para></listitem>
 <listitem><para>Hotplug 2004_09_23</para></listitem>
 <listitem><para>Hotplug 2004_09_23</para></listitem>
 <listitem><para>Libol 0.3.15</para></listitem>
 <listitem><para>Libol 0.3.15</para></listitem>
+<listitem><para>shadow-4.0.7-fix_lastlog-1.patch</para></listitem>
 <listitem><para>Syslog-ng 1.6.6</para></listitem>
 <listitem><para>Syslog-ng 1.6.6</para></listitem>
 <listitem><para>util-linux-2.12p-cramfs-1.patch</para></listitem>
 <listitem><para>util-linux-2.12p-cramfs-1.patch</para></listitem>
 <listitem><para>vim-6.0-security_fix-1.patch</para></listitem>
 <listitem><para>vim-6.0-security_fix-1.patch</para></listitem>
@@ -80,6 +81,8 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </itemizedlist>
 </listitem>
 </listitem>
 
 
+<listitem><para>March 21, 2005 [jim]: Added patch to fix issue with shadow and lastlog.</para></listitem>
+
 <listitem><para>March 19, 2005 [jim]: Added patch to fix issue with tar -S</para></listitem>
 <listitem><para>March 19, 2005 [jim]: Added patch to fix issue with tar -S</para></listitem>
 
 
 <listitem><para>March 19, 2005 [matt]: Removed references to kernel security
 <listitem><para>March 19, 2005 [matt]: Removed references to kernel security

+ 7 - 0
chapter03/patches.xml

@@ -120,6 +120,13 @@ needed to build an LFS system:</para>
 </listitem>
 </listitem>
 </varlistentry>
 </varlistentry>
 
 
+<varlistentry>
+<term>Shadow Lastlog Fix Patch - 1 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;shadow-&shadow-version;-fix_lastlog-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <varlistentry>
 <term>Tar Sparse Fix Patch - 1 KB:</term>
 <term>Tar Sparse Fix Patch - 1 KB:</term>
 <listitem>
 <listitem>

+ 7 - 0
chapter06/shadow.xml

@@ -29,6 +29,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
 <sect2 role="installation">
 <sect2 role="installation">
 <title>Installation of Shadow</title>
 <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>
 <para>Prepare Shadow for compilation:</para>
 
 
 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20050319">
-<!ENTITY releasedate "March 19, 2005">
+<!ENTITY version "SVN-20050321">
+<!ENTITY releasedate "March 21, 2005">
 <!ENTITY milestone "6.1">
 <!ENTITY milestone "6.1">
 
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">