<?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: Monitoring users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752669#M70596</link>
    <description>Jose&lt;BR /&gt;&lt;BR /&gt;You have the .sh_history file for each user in their home directories&lt;BR /&gt;&lt;BR /&gt;There are 2 variables in /etc/profile which can control this file&lt;BR /&gt;&lt;BR /&gt;HISTFILE : Contains the name of the history file&lt;BR /&gt;HISTSIZE : Shows how many commands are kept in the history file&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jun 2002 15:35:28 GMT</pubDate>
    <dc:creator>steven Burgess_2</dc:creator>
    <dc:date>2002-06-26T15:35:28Z</dc:date>
    <item>
      <title>Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752666#M70593</link>
      <description>Hello!&lt;BR /&gt;I have a question:&lt;BR /&gt;How can I know the commands executed for the users in the system (HP-UX 11.0)?&lt;BR /&gt;For example, in the case of the miss of a file, how can I know, who was erase it, or change the permission of a file?&lt;BR /&gt;Exist an application or procedure for lookin for this activity in the system?&lt;BR /&gt;Thank's in advance</description>
      <pubDate>Wed, 26 Jun 2002 15:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752666#M70593</guid>
      <dc:creator>Jose Luis</dc:creator>
      <dc:date>2002-06-26T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752667#M70594</link>
      <description>Hi Jose Luis,&lt;BR /&gt;&lt;BR /&gt;What about .history file?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Wed, 26 Jun 2002 15:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752667#M70594</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-06-26T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752668#M70595</link>
      <description>By looking at their history files (.sh_history) you can find out who has done changes in the file. But there are some smart users who modify the history files if they have done some mistakes. Avoiding the generic user accounts and giving proper permissions to the files/users will help you to figure out who(some time a list of users) might have changes the files.</description>
      <pubDate>Wed, 26 Jun 2002 15:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752668#M70595</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-06-26T15:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752669#M70596</link>
      <description>Jose&lt;BR /&gt;&lt;BR /&gt;You have the .sh_history file for each user in their home directories&lt;BR /&gt;&lt;BR /&gt;There are 2 variables in /etc/profile which can control this file&lt;BR /&gt;&lt;BR /&gt;HISTFILE : Contains the name of the history file&lt;BR /&gt;HISTSIZE : Shows how many commands are kept in the history file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 15:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752669#M70596</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-26T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752670#M70597</link>
      <description>You can check .sh_history under every user's home directory.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 15:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752670#M70597</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-06-26T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752671#M70598</link>
      <description>The .sh_history in the user's hoem directory is usually the way to check but that doesn't mean the user cannot modify or delete any traces from that file.</description>
      <pubDate>Wed, 26 Jun 2002 15:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752671#M70598</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-06-26T15:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752672#M70599</link>
      <description>Hi Jose,&lt;BR /&gt;&lt;BR /&gt;another suggestion:&lt;BR /&gt;Make the script command work for you! You can put it into the users profile, for example:&lt;BR /&gt;---snip---&lt;BR /&gt;script -a /var/adm/users/user1.log&lt;BR /&gt;---snip---&lt;BR /&gt;&lt;BR /&gt;NOTE that only the script command is terminated when the user types exit. But you kann kill the PPID of his shell.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;RGDS, Holger</description>
      <pubDate>Thu, 27 Jun 2002 11:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752672#M70599</guid>
      <dc:creator>Holger Knoppik</dc:creator>
      <dc:date>2002-06-27T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752673#M70600</link>
      <description>hai&lt;BR /&gt;&lt;BR /&gt;put a line in cron such that it will start a script each time a user logs in.. the script file will have all the commands and their output logged in...&lt;BR /&gt;&lt;BR /&gt;keep smiling&lt;BR /&gt;george</description>
      <pubDate>Thu, 27 Jun 2002 11:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752673#M70600</guid>
      <dc:creator>George Abraham_1</dc:creator>
      <dc:date>2002-06-27T11:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752674#M70601</link>
      <description>In reaction to Holker Knoppik, you should not set it into the userprofile, but in the /etc/profile, which is executed as well and should not be editable for users.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Thu, 27 Jun 2002 11:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752674#M70601</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-06-27T11:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752675#M70602</link>
      <description>Hi Ceesjan,&lt;BR /&gt;&lt;BR /&gt;i should have known this ! OK, by default the user's .profile has permissions r--r--r--. The owner is the user himself. How about a chown root:sys to the .profile ? I would check that the script command does not run for root.&lt;BR /&gt;&lt;BR /&gt;Just by the way ;-)&lt;BR /&gt;&lt;BR /&gt;RGDS, Holger</description>
      <pubDate>Thu, 27 Jun 2002 11:31:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752675#M70602</guid>
      <dc:creator>Holger Knoppik</dc:creator>
      <dc:date>2002-06-27T11:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752676#M70603</link>
      <description>You may want to look into accounting to audit some activity.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 27 Jun 2002 14:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-users/m-p/2752676#M70603</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-27T14:09:26Z</dc:date>
    </item>
  </channel>
</rss>

