<?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 Tracking user activity in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154232#M455224</link>
    <description>Hey gang,&lt;BR /&gt;I need to track a particular user.  I need to capture information like &lt;BR /&gt;-  Login time&lt;BR /&gt;-  Login location&lt;BR /&gt;-  Activity&lt;BR /&gt;-  Logout&lt;BR /&gt;Is there a way to do this in the .profile of the user?  Thanks!!!</description>
    <pubDate>Mon, 02 Feb 2009 23:54:56 GMT</pubDate>
    <dc:creator>TheJuiceman</dc:creator>
    <dc:date>2009-02-02T23:54:56Z</dc:date>
    <item>
      <title>Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154232#M455224</link>
      <description>Hey gang,&lt;BR /&gt;I need to track a particular user.  I need to capture information like &lt;BR /&gt;-  Login time&lt;BR /&gt;-  Login location&lt;BR /&gt;-  Activity&lt;BR /&gt;-  Logout&lt;BR /&gt;Is there a way to do this in the .profile of the user?  Thanks!!!</description>
      <pubDate>Mon, 02 Feb 2009 23:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154232#M455224</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2009-02-02T23:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154233#M455225</link>
      <description>&amp;gt; - Login time&lt;BR /&gt; &lt;BR /&gt;last userID&lt;BR /&gt; &lt;BR /&gt;&amp;gt; - Login location&lt;BR /&gt; &lt;BR /&gt;last -R userID&lt;BR /&gt; &lt;BR /&gt;(assumes "location" means IP address. Lots of luck trying to isolate down to a cubicle)&lt;BR /&gt; &lt;BR /&gt;&amp;gt; - Activity&lt;BR /&gt; &lt;BR /&gt;Activity? The easy answer is to make a copy of .sh_history (assuming ksh, POSIX sh, bash, etc). But what if the user tries to hide their tracks, like running vi and then escaping to a subshell with :!ksh (no log available). And the user can delete or edit the .sh_history, but if that happens, I would report that as suspicious behavior.&lt;BR /&gt; &lt;BR /&gt;You might also try the script command but it gets messy with menu programs like swinstall or Glance. And of course, this assumes that the user just types shell commands. &lt;BR /&gt; &lt;BR /&gt;&amp;gt; - Logout&lt;BR /&gt; &lt;BR /&gt;last userID&lt;BR /&gt; &lt;BR /&gt;NOTE: the last command is run at anytime, no modification of .profile needed. Note that .profile can also be modified by the user. For more detailed (and reliable) information, look at the auditing system (man 5 audit).</description>
      <pubDate>Tue, 03 Feb 2009 03:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154233#M455225</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-02-03T03:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154234#M455226</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;i had posted a thread like you earlier, but didn't get not so much responses.&lt;BR /&gt;&lt;BR /&gt;but you can do one thing, put the bellow lines in /etc/profile and check the results&lt;BR /&gt;&lt;BR /&gt;DATE=`date +%d_%b_%o_%a_%R:%S`&lt;BR /&gt;DEST=`hostname`&lt;BR /&gt;ORI=`who -R am i | awk '{print $6}' | cut -c2- | cut -f1 -d ')'`&lt;BR /&gt;mkdir -p $HOME/.exrce/.sheel&lt;BR /&gt;HISTFILE=$HOME/.exrce/.sheel/$DATE.$DEST.$ORI.$LOGNAME.txt&lt;BR /&gt;export HISTFILE&lt;BR /&gt;HISTSIZE=16384&lt;BR /&gt;export HISTSIZE&lt;BR /&gt;&lt;BR /&gt;enjoy!!!!</description>
      <pubDate>Tue, 03 Feb 2009 03:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154234#M455226</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-02-03T03:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154235#M455227</link>
      <description>Or alternatively you can install and configure SUDO and forces users to use sudo.</description>
      <pubDate>Tue, 03 Feb 2009 03:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154235#M455227</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-02-03T03:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154236#M455228</link>
      <description>Hi Juiceman,&lt;BR /&gt;&lt;BR /&gt;last -R "will show you location last login time of the user"&lt;BR /&gt;&lt;BR /&gt;Are running you server in Trusted Mode&lt;BR /&gt;&lt;BR /&gt;also you check in your System, Audtiing has been turn ON,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 03 Feb 2009 04:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154236#M455228</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-03T04:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking user activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154237#M455229</link>
      <description>ahsan...that is EXACTLY what I was looking for.  Thanks very much!!!</description>
      <pubDate>Tue, 03 Feb 2009 05:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-user-activity/m-p/5154237#M455229</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2009-02-03T05:11:10Z</dc:date>
    </item>
  </channel>
</rss>

