<?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: Logging all activities for a telnet/ssh session in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771493#M390068</link>
    <description>&lt;P&gt;You need something you can run in place of the user's shell to capture all the input/output in the session. The open-source utilities "sudosh" and "rootsh" could do that.&lt;BR /&gt;&lt;BR /&gt;Please see my answer in another thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Alternative-to-saving-history/m-p/4768198#M389626" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Alternative-to-saving-history/m-p/4768198#M389626&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;MK&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2011 16:54:10 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-08-04T16:54:10Z</dc:date>
    <item>
      <title>Logging all activities for a telnet/ssh session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771491#M390066</link>
      <description>I am looking for guidance on how to log any activity a user does when logged into my HPUX server. Tee is not really working as well as I would like for two reasons:&lt;BR /&gt;&lt;BR /&gt;1 - The user can exit out of the tee session&lt;BR /&gt;2 - The CR LF are different making the session unusable.&lt;BR /&gt;&lt;BR /&gt;I thought that I could use exec to trap the user in the tee session but that is not working. Will screen be able to help me in any way? Another important thing to mention is that I am not only operating in a UNIX shell, the users also dip in and out of a utility layer/database command line. Of course ~/.sh_history is incomplete as it does not log when they are in the database utility.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any advice is appreciated.</description>
      <pubDate>Tue, 29 Mar 2011 21:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771491#M390066</guid>
      <dc:creator>Brent Weaver_1</dc:creator>
      <dc:date>2011-03-29T21:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logging all activities for a telnet/ssh session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771492#M390067</link>
      <description>You can't use sh_history to record the things in database. It's almost similar activity like, you jump from one host to another.  When you jump from one host to another, you will be in another host and the history records on that host.  You may have to consult with Database admin, whether any option to record those history.  I think, there should be something.</description>
      <pubDate>Wed, 30 Mar 2011 03:10:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771492#M390067</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2011-03-30T03:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Logging all activities for a telnet/ssh session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771493#M390068</link>
      <description>&lt;P&gt;You need something you can run in place of the user's shell to capture all the input/output in the session. The open-source utilities "sudosh" and "rootsh" could do that.&lt;BR /&gt;&lt;BR /&gt;Please see my answer in another thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Alternative-to-saving-history/m-p/4768198#M389626" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Alternative-to-saving-history/m-p/4768198#M389626&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;MK&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 16:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771493#M390068</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-08-04T16:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Logging all activities for a telnet/ssh session</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771494#M390069</link>
      <description>If you ask me, I would use rootsh. It logs the entire session, also the DB activity. The latest version ported to HP-UX is 1.5.2, which you can find here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/projects/rootsh/files/rootsh/1.5.2/" target="_blank"&gt;http://sourceforge.net/projects/rootsh/files/rootsh/1.5.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2011 12:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-all-activities-for-a-telnet-ssh-session/m-p/4771494#M390069</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-03-30T12:16:18Z</dc:date>
    </item>
  </channel>
</rss>

