<?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: script for checking logins by certain users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541570#M759010</link>
    <description>The commands are not really trackable by normal means.  Solution may be to setup a shell history on each user, large enough to fit their command sets, and email those to yourself.....&lt;BR /&gt;the problem even with doing that is that you may not be able to get a $HOME/.logout command to work on HP-UX.&lt;BR /&gt;&lt;BR /&gt;All in all, I'd say it's a pretty good task.  It could be done....but.....not very easily.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Mon, 18 Jun 2001 13:06:13 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2001-06-18T13:06:13Z</dc:date>
    <item>
      <title>script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541567#M759007</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;i need a script that tells me (by email)&lt;BR /&gt;what certain users (in 1 group)  did (commands)&lt;BR /&gt;after each logout (of that user). It concerns all users&lt;BR /&gt; in 1 group on the system.&lt;BR /&gt;&lt;BR /&gt;thanx!&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2001 10:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541567#M759007</guid>
      <dc:creator>Maurice Peterse</dc:creator>
      <dc:date>2001-06-18T10:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541568#M759008</link>
      <description>Try &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x431472106351d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x431472106351d5118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Mon, 18 Jun 2001 11:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541568#M759008</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-18T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541569#M759009</link>
      <description>i don't  want to restrict any users, just a check on all commands used by all users in that 1 group...&lt;BR /&gt;&lt;BR /&gt;and i'm no scripting-fan :/&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2001 11:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541569#M759009</guid>
      <dc:creator>Maurice Peterse</dc:creator>
      <dc:date>2001-06-18T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541570#M759010</link>
      <description>The commands are not really trackable by normal means.  Solution may be to setup a shell history on each user, large enough to fit their command sets, and email those to yourself.....&lt;BR /&gt;the problem even with doing that is that you may not be able to get a $HOME/.logout command to work on HP-UX.&lt;BR /&gt;&lt;BR /&gt;All in all, I'd say it's a pretty good task.  It could be done....but.....not very easily.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 18 Jun 2001 13:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541570#M759010</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-06-18T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541571#M759011</link>
      <description>then we have a challenge here.&lt;BR /&gt;&lt;BR /&gt;Can't i use a script that starts archiving the commands from the moment those users login to the moment where they logout?&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated!!</description>
      <pubDate>Wed, 20 Jun 2001 08:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541571#M759011</guid>
      <dc:creator>Maurice Peterse</dc:creator>
      <dc:date>2001-06-20T08:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541572#M759012</link>
      <description>Just as an addition to Shannon's reply.&lt;BR /&gt;&lt;BR /&gt;If you place a .sh_logout script in the user's home dir and trap the exit of the shell in the user's .profile&lt;BR /&gt;&lt;BR /&gt;e.g.:&lt;BR /&gt;&lt;BR /&gt;trap 'test -x ${HOME}/.sh_logout &amp;amp;&amp;amp; . ${HOME}/.sh_logout; exit' 0&lt;BR /&gt;&lt;BR /&gt;you should be able to put any commands in the .sh_logout script (such as mailing you the user's .sh_history file), which will be executed on the user's logout.</description>
      <pubDate>Wed, 20 Jun 2001 09:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541572#M759012</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2001-06-20T09:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541573#M759013</link>
      <description>There is no cheap/easy way of doing what you want.  The standard UNIX accounting will be able to tell you when users log in, and what commands (accum total) that they have run, but not with any intelligence or order other than how much CPU/Memory and disk the command used for the duration of the accounting session.&lt;BR /&gt;&lt;BR /&gt;As a consultant, I could make something, and make it work.  I have custom accounting software at many locations.  However you are talking an easy 2-3 days development, and testing for what you are looking for.  This would be to try and avoid smart users, but would still have problems if a user was really smart.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 26 Jun 2001 12:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541573#M759013</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-06-26T12:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541574#M759014</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  U may check out the man pages of&lt;BR /&gt;&lt;BR /&gt;scripts command in HP-UX..&lt;BR /&gt;&lt;BR /&gt;  It saves all the commands issued by the user&lt;BR /&gt;&lt;BR /&gt;and also its out put to a file.&lt;BR /&gt;&lt;BR /&gt;  Might be of interest to U..&lt;BR /&gt;&lt;BR /&gt;  Check it out&lt;BR /&gt;&lt;BR /&gt;SUndar</description>
      <pubDate>Wed, 11 Jul 2001 12:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541574#M759014</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2001-07-11T12:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: script for checking logins by certain users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541575#M759015</link>
      <description>Maurice-&lt;BR /&gt;&lt;BR /&gt;What exactly are you watching for for this particular group?  Is this just to keep an eye on them in general or to see if they are using commands that they arn't supposed to be using?  If it is the later, it might be easier to make a shell for the group that only allows them to use a few choice commands (I remember seeing a thread or two on this a while ago).&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 11 Jul 2001 13:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-checking-logins-by-certain-users/m-p/2541575#M759015</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-07-11T13:32:13Z</dc:date>
    </item>
  </channel>
</rss>

