<?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 log in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360885#M35269</link>
    <description>BTW, I suggest to assing points for answers - for now there is "0 points for 64 answers" :-(</description>
    <pubDate>Thu, 19 Feb 2009 07:50:50 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2009-02-19T07:50:50Z</dc:date>
    <item>
      <title>last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360880#M35264</link>
      <description>I know the command "last" can show the user login record , so now when I use this command , it shows the user login record in this half year ( I didn't clear it for half year ) , can advise if I want clear the old record so that it only show the record from 1-feb-09 ( that mean clear the record before 1-feb-09 ) , what can i do ?</description>
      <pubDate>Wed, 18 Feb 2009 03:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360880#M35264</guid>
      <dc:creator>heaman1</dc:creator>
      <dc:date>2009-02-18T03:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360881#M35265</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Once a month or quarter or some time period:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /var/log/btmp&lt;BR /&gt;&amp;gt; /var/log/wtmp&lt;BR /&gt;&lt;BR /&gt;Back them up first if you want.&lt;BR /&gt;&lt;BR /&gt;Those are the data files for lastb and last commands respectively.&lt;BR /&gt;&lt;BR /&gt;The command empties them out.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 18 Feb 2009 13:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360881#M35265</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-18T13:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360882#M35266</link>
      <description>You can use logrotate for rotating the logs and having only a specific period of time on them.</description>
      <pubDate>Wed, 18 Feb 2009 13:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360882#M35266</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-02-18T13:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360883#M35267</link>
      <description>thx replis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; seems reset the file , the data will totally lost , but I just want remove the data before 1-feb&lt;BR /&gt;&lt;BR /&gt;logrotate needs to config sth , but I just want to do it one time only, is there simplier method ? thx</description>
      <pubDate>Thu, 19 Feb 2009 07:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360883#M35267</guid>
      <dc:creator>heaman1</dc:creator>
      <dc:date>2009-02-19T07:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360884#M35268</link>
      <description>I know I can use last -f wtmp to export the file to text , then I can modify it , but how can I import back it to current wtmp ?</description>
      <pubDate>Thu, 19 Feb 2009 07:49:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360884#M35268</guid>
      <dc:creator>heaman1</dc:creator>
      <dc:date>2009-02-19T07:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360885#M35269</link>
      <description>BTW, I suggest to assing points for answers - for now there is "0 points for 64 answers" :-(</description>
      <pubDate>Thu, 19 Feb 2009 07:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360885#M35269</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-02-19T07:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: last log</title>
      <link>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360886#M35270</link>
      <description>Do you have utmpdump?  Does it have an option to write a wtmp file?&lt;BR /&gt;You may have to write your own fwtmp.</description>
      <pubDate>Sat, 21 Feb 2009 16:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/last-log/m-p/4360886#M35270</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-21T16:11:00Z</dc:date>
    </item>
  </channel>
</rss>

