<?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 chkrootkit lastlog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648394#M742296</link>
    <description>What is the file used to store the last login information about the user in HP-UX? (An alternate to /var/adm/lastlog in UNIX )</description>
    <pubDate>Thu, 13 Oct 2005 03:09:41 GMT</pubDate>
    <dc:creator>Priya_5</dc:creator>
    <dc:date>2005-10-13T03:09:41Z</dc:date>
    <item>
      <title>chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648394#M742296</link>
      <description>What is the file used to store the last login information about the user in HP-UX? (An alternate to /var/adm/lastlog in UNIX )</description>
      <pubDate>Thu, 13 Oct 2005 03:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648394#M742296</guid>
      <dc:creator>Priya_5</dc:creator>
      <dc:date>2005-10-13T03:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648395#M742297</link>
      <description>/var/adm/wtmp which contains a record of all logins and logouts..&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 13 Oct 2005 03:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648395#M742297</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-13T03:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648396#M742298</link>
      <description>Successful login informations are stored with /var/adm/utmp and bad login informations are stored in /var/adm/btmp.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 13 Oct 2005 03:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648396#M742298</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-13T03:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648397#M742299</link>
      <description>It is /var/adm/wtmp not /var/adm/utmp :(&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 13 Oct 2005 03:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648397#M742299</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-13T03:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648398#M742300</link>
      <description>login service is storing into,&lt;BR /&gt;&lt;BR /&gt;      /var/adm/btmp       History of bad login attempts&lt;BR /&gt;      /var/adm/wtmp       History of logins, logouts, and date changes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To audit this you can use last / lastb. However, if you are having any different file then, use last or lastb with -f option as,&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt; # last -f /tmp/successlogin&lt;BR /&gt; # lastb -f /tmp/badlogin&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 13 Oct 2005 03:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648398#M742300</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-13T03:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648399#M742301</link>
      <description>For more information, &lt;BR /&gt;# man last or man lastb &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 13 Oct 2005 03:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648399#M742301</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-13T03:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648400#M742302</link>
      <description>Did you get answer for this? Is it /var/adm/wtmp file?&lt;BR /&gt;&lt;BR /&gt;I hope you are a newbie here. If the answer is correct then assign appropriate points.&lt;BR /&gt;&lt;BR /&gt;See this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Every one in ITRC is great one and spending their time to share their GREAT technical skills to solve problem. ( I did not mean that it is me :)) ) &lt;BR /&gt;&lt;BR /&gt;Keep posting questions and assign points :)&lt;BR /&gt;&lt;BR /&gt;thx.</description>
      <pubDate>Thu, 13 Oct 2005 04:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648400#M742302</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-13T04:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648401#M742303</link>
      <description>Thanx for ur valuable info (also for the point assignment link) MuthuKumar... &lt;BR /&gt;&lt;BR /&gt;The answer you people gave helped me a little bit. Thank u very much.</description>
      <pubDate>Thu, 13 Oct 2005 05:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648401#M742303</guid>
      <dc:creator>Priya_5</dc:creator>
      <dc:date>2005-10-13T05:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648402#M742304</link>
      <description>I would like to thank Muthukumar for his spl efforts in teaching the formalities...&lt;BR /&gt;&lt;BR /&gt;In between I am sorry. As MuthuKumar said, I donot know anything about assigning points. Please donot reject my questions in the future for this issue.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 05:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648402#M742304</guid>
      <dc:creator>Priya_5</dc:creator>
      <dc:date>2005-10-13T05:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648403#M742305</link>
      <description>Priya, &lt;BR /&gt;&amp;gt;The answer you people gave helped me a little bit. Thank u very much.&lt;BR /&gt;&lt;BR /&gt;Please try to post full problem, so that we can discuss further in ITRC. &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 06:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648403#M742305</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-13T06:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648404#M742306</link>
      <description>I am trying to use chkrootkit. There is a file named chklastlog.c where there is a hard code which refers the variable /usr/adm/lastlog. &lt;BR /&gt;------------------------------------------&lt;BR /&gt;#ifdef __FreeBSD__&lt;BR /&gt;#define WTMP_FILENAME "/var/log/wtmp"&lt;BR /&gt;#define LASTLOG_FILENAME "/var/log/lastlog"&lt;BR /&gt;#endif&lt;BR /&gt;#ifdef __OpenBSD__&lt;BR /&gt;#define WTMP_FILENAME "/var/log/wtmp"&lt;BR /&gt;#define LASTLOG_FILENAME "/var/log/lastlog"&lt;BR /&gt;#endif&lt;BR /&gt;#ifndef WTMP_FILENAME&lt;BR /&gt;#define WTMP_FILENAME "/var/adm/wtmp"&lt;BR /&gt;#endif&lt;BR /&gt;#ifndef LASTLOG_FILENAME&lt;BR /&gt;#define LASTLOG_FILENAME "/var/adm/lastlog"&lt;BR /&gt;#endif&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;&lt;BR /&gt;Sinece there is no such file in hp-ux I need to replace a suitable file for that. Which one can I use? Is there any possibility to replace that? If I use /var/adm/wtmp as you people mentioned, I get irrelevant output.&lt;BR /&gt;&lt;BR /&gt;Thanx in Advance</description>
      <pubDate>Thu, 13 Oct 2005 07:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648404#M742306</guid>
      <dc:creator>Priya_5</dc:creator>
      <dc:date>2005-10-13T07:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648405#M742307</link>
      <description>Is it something like, &lt;BR /&gt;#ifdef __HPUX__&lt;BR /&gt;#ifndef WTMP_FILENAME "/var/adm/wtmp"&lt;BR /&gt;#define WTMP_FILENAME "/var/adm/wtmp"&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;What output you get ? &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 13 Oct 2005 07:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648405#M742307</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-13T07:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648406#M742308</link>
      <description># ./chklastlog&lt;BR /&gt;user root deleted or never logged from lastlog!&lt;BR /&gt;user shyam deleted or never logged from lastlog!&lt;BR /&gt;user rita deleted or never logged from lastlog!&lt;BR /&gt;user reghu deleted or never logged from lastlog!&lt;BR /&gt;user pranesh deleted or never logged from lastlog!&lt;BR /&gt;user f deleted or never logged from lastlog!&lt;BR /&gt;user rama deleted or never logged from lastlog!&lt;BR /&gt;user kavitha deleted or never logged from lastlog!&lt;BR /&gt;user deepa deleted or never logged from lastlog!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'am very much cruious to know what is the exact content of the files /var/adm/lastlog and /var/adm/wtmp. &lt;BR /&gt;&lt;BR /&gt;If these contents differs, can the entries in wtmp file really replace lastlog entries.&lt;BR /&gt;&lt;BR /&gt;Is this trial correct?&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Oct 2005 01:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648406#M742308</guid>
      <dc:creator>Priya_5</dc:creator>
      <dc:date>2005-10-14T01:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: chkrootkit lastlog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648407#M742309</link>
      <description>You can try this, &lt;BR /&gt;# cat /var/adm/wtmp  | /usr/sbin/acct/fwtmp |more&lt;BR /&gt;&lt;BR /&gt;Also &lt;BR /&gt;man wtmp&lt;BR /&gt;man btmp&lt;BR /&gt;man utmp&lt;BR /&gt;&lt;BR /&gt;should help. /var/adm/lastlog is not applicable to HP-UX.. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 14 Oct 2005 01:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chkrootkit-lastlog/m-p/3648407#M742309</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-14T01:55:20Z</dc:date>
    </item>
  </channel>
</rss>

