<?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: log file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681751#M53207</link>
    <description>/usr/sbin/acct/fwtmp &amp;lt; wtmp | more   (view entire wtmp in ascii)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp &amp;lt; wtmp | grep -eftp -eremshd | more (see if wtmp has&lt;BR /&gt;ftp or remsh contained in it)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp &amp;lt; wtmp | grep -v -eftp -eremshd &amp;gt; wtmp.asc&lt;BR /&gt;(copy everything except ftp and remsh to an ascii file)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp -ic &amp;lt; wtmp.asc &amp;gt; wtmp.bin&lt;BR /&gt;(convert ascii file to binary file)&lt;BR /&gt;&lt;BR /&gt;last -f wtmp.bin&lt;BR /&gt;(use the 'last' command to view the binary contents of wtmp.bin)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; cat /var/adm/wtmp | /usr/sbin/acct/fwtmp&lt;BR /&gt; fwtmp &amp;lt; /etc/wtmp &amp;gt; /tmp/filename&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Mar 2002 22:30:24 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2002-03-12T22:30:24Z</dc:date>
    <item>
      <title>log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681745#M53201</link>
      <description>I would like to find out where the log file is for login failures and attempts. We're running 11.00.</description>
      <pubDate>Tue, 12 Mar 2002 22:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681745#M53201</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2002-03-12T22:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681746#M53202</link>
      <description>they are here:&lt;BR /&gt;&lt;BR /&gt;/etc/utmp&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;/var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;see the man page for "last" for more info&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2002 22:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681746#M53202</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-03-12T22:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681747#M53203</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Two places I can think of:&lt;BR /&gt;&lt;BR /&gt;/var/adm/auth.log&lt;BR /&gt;/var/adm/sulog&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 12 Mar 2002 22:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681747#M53203</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-03-12T22:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681748#M53204</link>
      <description>How can you read a wtmp or btmp file since it's considered an awk text.</description>
      <pubDate>Tue, 12 Mar 2002 22:20:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681748#M53204</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2002-03-12T22:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681749#M53205</link>
      <description>use last or ftwmp, but be careful as fwtmp has write capability.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 12 Mar 2002 22:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681749#M53205</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-03-12T22:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681750#M53206</link>
      <description>You use 'last' and 'lastb' to read the files. See the man pages for 'last'. &lt;BR /&gt;&lt;BR /&gt;cat /var/adm/wtmp | /usr/sbin/acct/fwtmp &amp;gt; /var/tmp/w&amp;gt;&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;last -10&lt;BR /&gt;gives you the lasat 10 entries&lt;BR /&gt;&lt;BR /&gt;last -R -10 &lt;BR /&gt;&lt;BR /&gt;displays the hostname&lt;BR /&gt;&lt;BR /&gt;same thing with lastb.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 12 Mar 2002 22:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681750#M53206</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-03-12T22:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681751#M53207</link>
      <description>/usr/sbin/acct/fwtmp &amp;lt; wtmp | more   (view entire wtmp in ascii)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp &amp;lt; wtmp | grep -eftp -eremshd | more (see if wtmp has&lt;BR /&gt;ftp or remsh contained in it)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp &amp;lt; wtmp | grep -v -eftp -eremshd &amp;gt; wtmp.asc&lt;BR /&gt;(copy everything except ftp and remsh to an ascii file)&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp -ic &amp;lt; wtmp.asc &amp;gt; wtmp.bin&lt;BR /&gt;(convert ascii file to binary file)&lt;BR /&gt;&lt;BR /&gt;last -f wtmp.bin&lt;BR /&gt;(use the 'last' command to view the binary contents of wtmp.bin)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; cat /var/adm/wtmp | /usr/sbin/acct/fwtmp&lt;BR /&gt; fwtmp &amp;lt; /etc/wtmp &amp;gt; /tmp/filename&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2002 22:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681751#M53207</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-03-12T22:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681752#M53208</link>
      <description>You can also use grep as a filter to&lt;BR /&gt;analyse the output from either the&lt;BR /&gt;last or lastb commands.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;# last | grep fred (username)</description>
      <pubDate>Tue, 12 Mar 2002 22:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681752#M53208</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-03-12T22:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681753#M53209</link>
      <description>to read a wtmp file, use the fwtmp command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2002 22:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681753#M53209</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-03-12T22:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681754#M53210</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One of my favorites is to use the who command against /var/adm/wtmp.  See man who for more info but I like "who -a /var/adm/wtmp".&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 12 Mar 2002 23:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681754#M53210</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-03-12T23:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681755#M53211</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The first link gives a sample on how to read the info from the log files and the second link suggests what you can do to cleanup those log files,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000054497817" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000054497817&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000058669444" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000058669444&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2002 23:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681755#M53211</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-03-12T23:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681756#M53212</link>
      <description>Hi Here are those files.&lt;BR /&gt;&lt;BR /&gt;/etc/utmp &lt;BR /&gt;/var/adm/wtmp &lt;BR /&gt;/var/adm/btmp &lt;BR /&gt;&lt;BR /&gt;Here is the explanation about those files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A. File utmp contains a record of all users logged onto the system.  &lt;BR /&gt;&lt;BR /&gt;B. File btmp contains bad login entries for each invalid logon attempt.  &lt;BR /&gt;&lt;BR /&gt;C. File wtmp contains a record of all logins and logouts.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2002 00:24:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681756#M53212</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-03-13T00:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681757#M53213</link>
      <description>Sanjay, I can't access the link you suggested above about cleanup /var/adm/wtmp. Also a search on document ID doesn't work. Maybe that's because I'm connecting from Europe. Is there another way to access this information ? Thank you.</description>
      <pubDate>Thu, 25 Apr 2002 07:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-file/m-p/2681757#M53213</guid>
      <dc:creator>Van Weyenberg Els</dc:creator>
      <dc:date>2002-04-25T07:00:23Z</dc:date>
    </item>
  </channel>
</rss>

