<?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: user log in report script .. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668473#M50265</link>
    <description>"who" tells you who is logged in now, "last" gives you history, including ftp. The the man pages for more info.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
    <pubDate>Wed, 20 Feb 2002 19:03:47 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2002-02-20T19:03:47Z</dc:date>
    <item>
      <title>user log in report script ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668472#M50264</link>
      <description>Hey everyone .. &lt;BR /&gt;Hope everyone is having a great Hump Day .. &lt;BR /&gt;I have been asked to generate a user log in report. My boss wants to know who and when people have been loggging into our server so we can look for activity that is just not right. We mainly want ftp and telnet.Does anyone have any suggestion as to what extra logging I need to turn on or what logs I need to go though to get this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 20 Feb 2002 19:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668472#M50264</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-20T19:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: user log in report script ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668473#M50265</link>
      <description>"who" tells you who is logged in now, "last" gives you history, including ftp. The the man pages for more info.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Wed, 20 Feb 2002 19:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668473#M50265</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-02-20T19:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: user log in report script ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668474#M50266</link>
      <description>Further to the reply already received...&lt;BR /&gt;&lt;BR /&gt;You can also use lastb to see bad logins.&lt;BR /&gt;&lt;BR /&gt;I was asked to do something similar to what you are asking about.  In my case, I needed to log the IP address  that each user logging in was coming from.  What I did was the following:&lt;BR /&gt;&lt;BR /&gt;1.  Edit the /etc/profile file, as it is run whenever someone logs on.&lt;BR /&gt;2. Added code to gather this data and log to a file:&lt;BR /&gt;&lt;BR /&gt;who -m | read -r VAR1 VAR2 VAR3&lt;BR /&gt;who -a | grep $VAR2 &amp;gt;&amp;gt; /var/adm/ttmp&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Wed, 20 Feb 2002 19:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668474#M50266</guid>
      <dc:creator>Walter Bezdek</dc:creator>
      <dc:date>2002-02-20T19:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: user log in report script ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668475#M50267</link>
      <description>if accounting is turned on, you can retreive a bunch of summary info from those logs:&lt;BR /&gt;&lt;BR /&gt;man acctsh for details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 20:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668475#M50267</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-02-20T20:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: user log in report script ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668476#M50268</link>
      <description>Turn on the inetd logs&lt;BR /&gt;#inetd -l&lt;BR /&gt;&lt;BR /&gt;It will give you the IP address and the Machine Name (If the IP Add is resolved through DNS, otherwise it will give unknown)from where the user had logged in. You will get the PID No. also.&lt;BR /&gt;&lt;BR /&gt;Hope this will solve your Problem.&lt;BR /&gt;&lt;BR /&gt;Sorry I have not mentioned the file where you will get the output. It is /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Wed, 20 Feb 2002 21:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-in-report-script/m-p/2668476#M50268</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-02-20T21:11:26Z</dc:date>
    </item>
  </channel>
</rss>

