<?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: wtmp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497189#M20243</link>
    <description>just do the following:&lt;BR /&gt;&lt;BR /&gt;#&amp;gt;wtmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Thu, 22 Feb 2001 08:20:48 GMT</pubDate>
    <dc:creator>Michael Lee_4</dc:creator>
    <dc:date>2001-02-22T08:20:48Z</dc:date>
    <item>
      <title>wtmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497188#M20242</link>
      <description>Hello,&lt;BR /&gt;i have the problem that /var/adm/wtmp is too big but i can?t clear it to zero. Has someone experience with the fwtmp? Is it possible to&lt;BR /&gt;to read out wtmp and cut it like a tail -200 and wright it back?&lt;BR /&gt;&lt;BR /&gt;Regards Peter</description>
      <pubDate>Thu, 22 Feb 2001 08:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497188#M20242</guid>
      <dc:creator>Peter Lachnitt</dc:creator>
      <dc:date>2001-02-22T08:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497189#M20243</link>
      <description>just do the following:&lt;BR /&gt;&lt;BR /&gt;#&amp;gt;wtmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 22 Feb 2001 08:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497189#M20243</guid>
      <dc:creator>Michael Lee_4</dc:creator>
      <dc:date>2001-02-22T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497190#M20244</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Zeroing the file with (as root):&lt;BR /&gt;cp /dev/null /var/adm/wtmp should work.&lt;BR /&gt;&lt;BR /&gt;You could run /usr/sbin/acct/runacct as this will invoke 'closewtmp' before creating a new wtmp file&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2001 08:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497190#M20244</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-02-22T08:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497191#M20245</link>
      <description>&lt;BR /&gt;to read wtmp file do like this:&lt;BR /&gt;&lt;BR /&gt;the following will convert it to ASCII file &lt;BR /&gt;#/usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/file&lt;BR /&gt;then you can either edit the file or read it.&lt;BR /&gt;&lt;BR /&gt;Then you can convert it back to binary form:&lt;BR /&gt;##/usr/sbin/acct/fwtmp  -ic &amp;lt; /tmp/file &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;federico&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2001 10:23:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp/m-p/2497191#M20245</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-02-22T10:23:56Z</dc:date>
    </item>
  </channel>
</rss>

