<?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: Tracking user login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495156#M20019</link>
    <description>Hi Bach,&lt;BR /&gt;&lt;BR /&gt;Besides the "last" command there is another option you could try, &lt;BR /&gt;&lt;BR /&gt;1. Via SAM convert your system to "trusted" mode&lt;BR /&gt;2. Go into SAM -&amp;gt; auditing and security -&amp;gt; audited event&lt;BR /&gt;3. Make sure auditing is turned on, and the login event type should include both "success" and "failure" events&lt;BR /&gt;&lt;BR /&gt;After all you can view the good and bad login attempts via the "view audit log" option.&lt;BR /&gt;&lt;BR /&gt;Don't know why on your system the "last" command losted its historical data.  It is the simplest way to achieve what you want so use this one if possible. &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Feb 2001 01:58:06 GMT</pubDate>
    <dc:creator>Philip Chan_1</dc:creator>
    <dc:date>2001-02-19T01:58:06Z</dc:date>
    <item>
      <title>Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495150#M20013</link>
      <description>Is there a command that I can use to check if a user has login at a certain date?</description>
      <pubDate>Fri, 16 Feb 2001 22:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495150#M20013</guid>
      <dc:creator>bhoang</dc:creator>
      <dc:date>2001-02-16T22:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495151#M20014</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, use 'last' (see 'man last').  If /var/adm/wtmp is present, then this file will contain a record of all logins.  Do this:&lt;BR /&gt;&lt;BR /&gt;# last &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;If /var/adm/wtmp isn't present, then you will need to first touch it to start collecting this information.  Permissions should be 644 owned by root.  Trim (or create) the file by redirecting /dev/null into it:&lt;BR /&gt;&lt;BR /&gt;# /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;Bad login attempts are (corresponding) kept in /var/adm/btmp and are interrogated with 'lastb' [see same man as above].&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 16 Feb 2001 22:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495151#M20014</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-16T22:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495152#M20015</link>
      <description>"last" will show you all the details of users logged in and logged out.</description>
      <pubDate>Fri, 16 Feb 2001 22:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495152#M20015</guid>
      <dc:creator>Jitendra_1</dc:creator>
      <dc:date>2001-02-16T22:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495153#M20016</link>
      <description>Hi all,&lt;BR /&gt;I did use the Last command but it only shows me&lt;BR /&gt;the last two days. What command can I use to see if the user has login on, say the first of &lt;BR /&gt;the month. &lt;BR /&gt;TIA</description>
      <pubDate>Fri, 16 Feb 2001 22:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495153#M20016</guid>
      <dc:creator>bhoang</dc:creator>
      <dc:date>2001-02-16T22:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495154#M20017</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The file grows without bounds and is usually trimmed (dev/null &amp;gt; /var/adm/wtmp).  In this case, the data you seek is gone.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 16 Feb 2001 22:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495154#M20017</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-16T22:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495155#M20018</link>
      <description>Hi Bach,&lt;BR /&gt;&lt;BR /&gt;You will also find records of ftp login as well as records of those who "su" and which account they "su" to in  /var/adm/syslog/syslog.log.&lt;BR /&gt;&lt;BR /&gt;Take care,&lt;BR /&gt;Josee&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Feb 2001 01:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495155#M20018</guid>
      <dc:creator>Josee Bourget-Thuma</dc:creator>
      <dc:date>2001-02-17T01:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495156#M20019</link>
      <description>Hi Bach,&lt;BR /&gt;&lt;BR /&gt;Besides the "last" command there is another option you could try, &lt;BR /&gt;&lt;BR /&gt;1. Via SAM convert your system to "trusted" mode&lt;BR /&gt;2. Go into SAM -&amp;gt; auditing and security -&amp;gt; audited event&lt;BR /&gt;3. Make sure auditing is turned on, and the login event type should include both "success" and "failure" events&lt;BR /&gt;&lt;BR /&gt;After all you can view the good and bad login attempts via the "view audit log" option.&lt;BR /&gt;&lt;BR /&gt;Don't know why on your system the "last" command losted its historical data.  It is the simplest way to achieve what you want so use this one if possible. &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Feb 2001 01:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495156#M20019</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2001-02-19T01:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495157#M20020</link>
      <description>One of the best tools, and least used tools is the berkely accounting package.&lt;BR /&gt;&lt;BR /&gt;Read up on the man pages for runacct, pacct, and their references.&lt;BR /&gt;&lt;BR /&gt;I use accounting on ALL seats.  I get a monthly report on all users, each time they have logged in, for how long, what applications they ran, etc...&lt;BR /&gt;&lt;BR /&gt;It's built in and free, as well as supported by HP-UX, SunOS, AIX, Irix, SCO/Unix and Linux.  It gives you tons of information, most of which you wont need, but some that you do need is priceless!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 19 Feb 2001 14:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495157#M20020</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-02-19T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495158#M20021</link>
      <description>If the information prior to the last 2 days is important, you could restore /var/adm/wtmp to another file and use the '-f' option to the 'last' command to specify the 'old' data's collection file.  BE SURE YOU DON'T restore over the top of you active file (/var/adm/wtmp).</description>
      <pubDate>Tue, 20 Feb 2001 14:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-login/m-p/2495158#M20021</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2001-02-20T14:16:12Z</dc:date>
    </item>
  </channel>
</rss>

