<?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: stop wtmp logging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629976#M40883</link>
    <description>Just adding to above, /var/adm/wtmp and /var/adm/btmp files tend to grow without bound (until they fill up the filesystem). These data files contain encoded information, so it is generally not useful to read them directly. The last(1) and lastb(1) commands display this log information in a plain text format. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Dec 2001 07:47:51 GMT</pubDate>
    <dc:creator>T. M. Louah</dc:creator>
    <dc:date>2001-12-12T07:47:51Z</dc:date>
    <item>
      <title>stop wtmp logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629973#M40880</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do I stop wtmp from logging?&lt;BR /&gt;&lt;BR /&gt;i zeroed /var/adm/wtmp [cat /dev/null] but it keeps on growing... how do i stop this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 12 Dec 2001 05:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629973#M40880</guid>
      <dc:creator>Dave Bunting</dc:creator>
      <dc:date>2001-12-12T05:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: stop wtmp logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629974#M40881</link>
      <description>Hi,&lt;BR /&gt;The file /var/adm/btmp contains bad login entries for each invalid logon&lt;BR /&gt;attempt and the file /var/adm/wtmp contains a record of all logins and&lt;BR /&gt;logouts. See the man page utmp(4) for more information.&lt;BR /&gt;&lt;BR /&gt;They are binary data files, so they cannot be read directly. The can however&lt;BR /&gt;be read with the following commands:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;The "last" and "lastb" commands display the information is a readable format.&lt;BR /&gt;&lt;BR /&gt;The files can be zeroed or removed but if they are removed they need to be&lt;BR /&gt;manually recreated as they not created by the programs that maintain them.&lt;BR /&gt;Thus, if these files are removed, record-keeping is turned off.&lt;BR /&gt;&lt;BR /&gt;If you want to recreate them note the ownerships and permissions before&lt;BR /&gt;removing them and reset the ownerships and permissions after recreating the&lt;BR /&gt;files (usually with touch to create an empty files). This is EXTREMELY&lt;BR /&gt;important -&amp;gt; especially for the btmp file.&lt;BR /&gt;HP ONLY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 05:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629974#M40881</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-12-12T05:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: stop wtmp logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629975#M40882</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One of the easiest ways is to do this through&lt;BR /&gt;sam.&lt;BR /&gt;&lt;BR /&gt;sam --&amp;gt; routine tasks --&amp;gt;&lt;BR /&gt;system log files --&amp;gt; choose /var/adm/wtmp&lt;BR /&gt;choose actions --&amp;gt; trim --&amp;gt;&lt;BR /&gt;trim to zero&lt;BR /&gt;exit SAM and then remove the file.&lt;BR /&gt;This should fix it.&lt;BR /&gt;&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 05:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629975#M40882</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-12-12T05:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: stop wtmp logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629976#M40883</link>
      <description>Just adding to above, /var/adm/wtmp and /var/adm/btmp files tend to grow without bound (until they fill up the filesystem). These data files contain encoded information, so it is generally not useful to read them directly. The last(1) and lastb(1) commands display this log information in a plain text format. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 07:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629976#M40883</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2001-12-12T07:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: stop wtmp logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629977#M40884</link>
      <description>why you want to stop wtmp from logging , it useful but in 10.20 it can be so big , just manage it size using as someone state above.</description>
      <pubDate>Wed, 12 Dec 2001 09:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-wtmp-logging/m-p/2629977#M40884</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2001-12-12T09:40:07Z</dc:date>
    </item>
  </channel>
</rss>

