<?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 Commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236358#M329360</link>
    <description>There is a third party product called PowerPassword that can do things similar to what you require.&lt;BR /&gt;&lt;BR /&gt;It works kind of like sudo, but it does have keystroke logging capabilities.&lt;BR /&gt;&lt;BR /&gt;More information on PowerPassword here:&lt;BR /&gt;&lt;A href="http://www.symark.com/products/ppoverview.html" target="_blank"&gt;http://www.symark.com/products/ppoverview.html&lt;/A&gt;</description>
    <pubDate>Fri, 18 Jul 2008 12:47:14 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2008-07-18T12:47:14Z</dc:date>
    <item>
      <title>User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236356#M329358</link>
      <description>I know this topic has surfaced because I remember reading about it here, however a search in the ITRC came up short.&lt;BR /&gt;&lt;BR /&gt;I want to trap what commands a team member is issuing after he su's to root. I can look at history but I dont think it shows me all the commands that all sessions have been issuing. Is there a way to see what commands they issue after su'ing?</description>
      <pubDate>Fri, 18 Jul 2008 11:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236356#M329358</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2008-07-18T11:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236357#M329359</link>
      <description>There is no real good way.  If he can use su without the "-", HISTFILE can be set to nothing.  He can also change anything on the system that hasn't been already sent elsewhere.&lt;BR /&gt;So probably sudo for each command is a way to track things.</description>
      <pubDate>Fri, 18 Jul 2008 12:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236357#M329359</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236358#M329360</link>
      <description>There is a third party product called PowerPassword that can do things similar to what you require.&lt;BR /&gt;&lt;BR /&gt;It works kind of like sudo, but it does have keystroke logging capabilities.&lt;BR /&gt;&lt;BR /&gt;More information on PowerPassword here:&lt;BR /&gt;&lt;A href="http://www.symark.com/products/ppoverview.html" target="_blank"&gt;http://www.symark.com/products/ppoverview.html&lt;/A&gt;</description>
      <pubDate>Fri, 18 Jul 2008 12:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236358#M329360</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-18T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236359#M329361</link>
      <description>I think I need more coffee this morning.&lt;BR /&gt;&lt;BR /&gt;The product that does things similar to what you require is actually PowerBroker, NOT PowerPassword as I said above..&lt;BR /&gt;&lt;BR /&gt;More info here:&lt;BR /&gt;&lt;A href="http://www.symark.com/products/pboverview.html" target="_blank"&gt;http://www.symark.com/products/pboverview.html&lt;/A&gt;</description>
      <pubDate>Fri, 18 Jul 2008 12:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236359#M329361</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-18T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236360#M329362</link>
      <description>Hi,&lt;BR /&gt;As said Powerbroker is a good tool for this. The Pbreplay of Powerbroker can be used to playback the keystroke sessions of root.&lt;BR /&gt;&lt;BR /&gt;You can use the below script which would give you the last 10 lines (tail default) of the history files of the users who used su today (only today). You can just fine tune it according your needs. May be someone can fine tune more logical one based on this.&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;TDATE=" `date +'%m/%d'`" &lt;BR /&gt;for TUSER in `grep $TDATE /var/adm/sulog|  awk  '  /root$/ {print $NF}'|cut -d\- -f1|grep -v root`&lt;BR /&gt;do&lt;BR /&gt;echo ====================================&lt;BR /&gt;echo $TDATE&lt;BR /&gt;echo $TUSER&lt;BR /&gt;echo ====================================&lt;BR /&gt;tail ~$TUSER/.sh_history&lt;BR /&gt;echo ====================================&lt;BR /&gt;sleep 2&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds.</description>
      <pubDate>Sat, 19 Jul 2008 06:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236360#M329362</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-07-19T06:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: User Commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236361#M329363</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Keon Boks is very good for this&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Mon, 21 Jul 2008 08:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-commands/m-p/4236361#M329363</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2008-07-21T08:37:16Z</dc:date>
    </item>
  </channel>
</rss>

