<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: last command &amp;amp; wtmps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615213#M376922</link>
    <description>but I still have a problem with (last) command that is read successful comand from /var/adm/wtmps???</description>
    <pubDate>Sat, 10 Apr 2010 08:52:21 GMT</pubDate>
    <dc:creator>CU_1</dc:creator>
    <dc:date>2010-04-10T08:52:21Z</dc:date>
    <item>
      <title>last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615210#M376919</link>
      <description>when I run last command it gives me the error meassage:&lt;BR /&gt;(Invalid record size. Unable to continue ...)&lt;BR /&gt;so, I checked the file size and I found it 7863772, and the size of LV for /var= 6144000!!!! somthing I can't understand.</description>
      <pubDate>Sat, 10 Apr 2010 08:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615210#M376919</guid>
      <dc:creator>CU_1</dc:creator>
      <dc:date>2010-04-10T08:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615211#M376920</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# bdf /var ---&amp;gt; sizes in kilobytes&lt;BR /&gt;&lt;BR /&gt;# ls -l ----&amp;gt; sizes in bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 10 Apr 2010 08:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615211#M376920</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2010-04-10T08:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615212#M376921</link>
      <description>Abdul,&lt;BR /&gt;&lt;BR /&gt;Do you need to keep the old information in the wtmp, btmp and wtmps files?&lt;BR /&gt;&lt;BR /&gt;Otherwise zero them.&lt;BR /&gt;&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/btmp&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;If you want to try to preserve previous bad login attempts, you will need to make use of the 'fwtmp' command:&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/wtmp.tmp&lt;BR /&gt;# vi /tmp/wtmp.tmp # Clean up records&lt;BR /&gt;# /usr/bin/acct/fwtmp -ic &amp;lt; /tmp/wtmp.tmp &amp;gt; /var/adm/wtmp&lt;BR /&gt;# rm /tmp/wtmp.tmp&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 10 Apr 2010 08:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615212#M376921</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2010-04-10T08:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615213#M376922</link>
      <description>but I still have a problem with (last) command that is read successful comand from /var/adm/wtmps???</description>
      <pubDate>Sat, 10 Apr 2010 08:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615213#M376922</guid>
      <dc:creator>CU_1</dc:creator>
      <dc:date>2010-04-10T08:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615214#M376923</link>
      <description>also check the btmp and wtmps files.&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/btmp &amp;gt; /tmp/btmp.tmp&lt;BR /&gt;# vi /tmp/btmp.tmp # Clean up records&lt;BR /&gt;# /usr/bin/acct/fwtmp -ic &amp;lt; /tmp/btmp.tmp &amp;gt; /var/adm/btmp&lt;BR /&gt;# rm /tmp/btmp.tmp&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmps &amp;gt; /tmp/wtmps.tmp&lt;BR /&gt;# vi /tmp/wtmps.tmp # Clean up records&lt;BR /&gt;# /usr/bin/acct/fwtmp -ic &amp;lt; /tmp/wtmps.tmp &amp;gt; /var/adm/wtmp&lt;BR /&gt;# rm /tmp/wtmps.tmp</description>
      <pubDate>Sat, 10 Apr 2010 09:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615214#M376923</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2010-04-10T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615215#M376924</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;refer to this post&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270894862806+28353475&amp;amp;threadId=861310" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270894862806+28353475&amp;amp;threadId=861310&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;MC</description>
      <pubDate>Sat, 10 Apr 2010 09:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615215#M376924</guid>
      <dc:creator>madhuchakkaravarthy</dc:creator>
      <dc:date>2010-04-10T09:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615216#M376925</link>
      <description>Looks like your file system and LV size are not same. Verify your LV size and extend file system same as LV.</description>
      <pubDate>Sun, 11 Apr 2010 01:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615216#M376925</guid>
      <dc:creator>Benoy Daniel</dc:creator>
      <dc:date>2010-04-11T01:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: last command &amp; wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615217#M376926</link>
      <description>&amp;gt;I checked the file size and I found it 7863772, and the size of LV for /var= 6144000!&lt;BR /&gt;&lt;BR /&gt;There is no connection between the corruption in wtmps(4) and the size of a LV.&lt;BR /&gt;See the replies by Robert-Jan and MC.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Benoy: Looks like your file system and LV size are not same.&lt;BR /&gt;&lt;BR /&gt;I'm not sure why you would think that.</description>
      <pubDate>Sun, 11 Apr 2010 19:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-command-amp-wtmps/m-p/4615217#M376926</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-11T19:05:24Z</dc:date>
    </item>
  </channel>
</rss>

