<?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: enhancing user activity tracking in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855916#M94662</link>
    <description>Thanks Michael.</description>
    <pubDate>Tue, 03 Dec 2002 20:39:21 GMT</pubDate>
    <dc:creator>Bobby Gunn</dc:creator>
    <dc:date>2002-12-03T20:39:21Z</dc:date>
    <item>
      <title>enhancing user activity tracking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855914#M94660</link>
      <description>Your help is needed in resolving the details of an idea that I had on enhancing user activity tracking.&lt;BR /&gt;&lt;BR /&gt;The given is that the user has access to their own sh_history file and can make changes (i.e. cover their tracks).  We???re utilizing the Bourne shell (/bin/sh) for our system functions and the Korn shell (/bin/ksh) for the user???s startup program.&lt;BR /&gt;&lt;BR /&gt;What we need to figure out, is a way to duplicate what is written by the shell to a user???s sh_history file.  The duplicate entry will need to be written to another specified file in a restricted directory (i.e. /var/adm/usrlog/.username.log).  This way if the user deletes entries in their own sh_history file, the original commands will still exist in the duplicate file.&lt;BR /&gt;&lt;BR /&gt;Trying to work around user deniability.  Any ideas?</description>
      <pubDate>Tue, 03 Dec 2002 00:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855914#M94660</guid>
      <dc:creator>Bobby Gunn</dc:creator>
      <dc:date>2002-12-03T00:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: enhancing user activity tracking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855915#M94661</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are probably a couple of ways. One would to be use 'logger' to capture the user information into a logfile. The second, you could use cron to make copies of the hostory file. If you use a trusted system you could turn on system auditing.&lt;BR /&gt;&lt;BR /&gt;Only thing I would be hesitant doing would be any legal fall out. This would of course depend on your countries leagal system in doing this.&lt;BR /&gt;&lt;BR /&gt;# tail -f ~username/.sh_history |while read line &lt;BR /&gt;do &lt;BR /&gt;logger $LOGNAME":"$line &lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;Logger writes the output to syslog&lt;BR /&gt;You could then run grep on the user to get the commands that have been posted.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2002 01:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855915#M94661</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-12-03T01:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: enhancing user activity tracking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855916#M94662</link>
      <description>Thanks Michael.</description>
      <pubDate>Tue, 03 Dec 2002 20:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhancing-user-activity-tracking/m-p/2855916#M94662</guid>
      <dc:creator>Bobby Gunn</dc:creator>
      <dc:date>2002-12-03T20:39:21Z</dc:date>
    </item>
  </channel>
</rss>

