<?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: Telnet - what IP address was destination in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714859#M713083</link>
    <description>Hi Matt&lt;BR /&gt;&lt;BR /&gt;You can possible look at lsof | grep the user name to know which Ip address the user is telnetting . lsof is a freware and works wonders and also ahs both 32 and 64 bit version available . You can look for it at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README" target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;for the details.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
    <pubDate>Wed, 01 May 2002 13:57:48 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2002-05-01T13:57:48Z</dc:date>
    <item>
      <title>Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714857#M713081</link>
      <description>We would like to know what IP address a user telneted to so we can work out what package they are accessing</description>
      <pubDate>Wed, 01 May 2002 13:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714857#M713081</guid>
      <dc:creator>Matt Pearse</dc:creator>
      <dc:date>2002-05-01T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714858#M713082</link>
      <description>Not completely sure what you are asking but try,&lt;BR /&gt;&lt;BR /&gt;last -R &lt;BR /&gt;</description>
      <pubDate>Wed, 01 May 2002 13:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714858#M713082</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-01T13:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714859#M713083</link>
      <description>Hi Matt&lt;BR /&gt;&lt;BR /&gt;You can possible look at lsof | grep the user name to know which Ip address the user is telnetting . lsof is a freware and works wonders and also ahs both 32 and 64 bit version available . You can look for it at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README" target="_blank"&gt;ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;for the details.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 01 May 2002 13:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714859#M713083</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-01T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714860#M713084</link>
      <description>Also try,&lt;BR /&gt;&lt;BR /&gt;netstat -a | grep telnet | grep username</description>
      <pubDate>Wed, 01 May 2002 13:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714860#M713084</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-01T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714861#M713085</link>
      <description>Hi Matt,&lt;BR /&gt;&lt;BR /&gt;You could examine the user's history file - cat or more the file .sh_history in the user's home dir.&lt;BR /&gt;&lt;BR /&gt; Or you could trying logging into this user's account on the system they were telnetting from and enter  esc-k to see the last command entered &amp;amp; keep entering k to see previous commands.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 01 May 2002 14:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714861#M713085</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-01T14:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714862#M713086</link>
      <description>who -u&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Wed, 01 May 2002 14:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714862#M713086</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-05-01T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714863#M713087</link>
      <description>Matt,&lt;BR /&gt;&lt;BR /&gt;Have each user create their own ".sh_history" file, by placing the following into /etc/profile&lt;BR /&gt;&lt;BR /&gt;readonly HISTFILE="${HOME}/.sh_history_`date +%y%m%d.%H%M%S`.$$" &lt;BR /&gt;readonly HISTSIZE=50000 &lt;BR /&gt;export HISTFILE HISTSIZE &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then do this, if their .sh_history's are in /home, otherwise change the /home to either / or the appropriate directory:&lt;BR /&gt;&lt;BR /&gt;find / -type f -name ".sh_history*" -exec grep "telnet " {} \; | sed "s/\0//g" | grep "^telnet " | sort -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;THE "sed" for "\0" (NULL) allow s the further greps to work on SHELL HISTORY files.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 01 May 2002 14:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714863#M713087</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-01T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet - what IP address was destination</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714864#M713088</link>
      <description>Thanks to Manoj we have a solution.&lt;BR /&gt;&lt;BR /&gt;lsof gives us the information we require.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Matt</description>
      <pubDate>Wed, 01 May 2002 14:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-what-ip-address-was-destination/m-p/2714864#M713088</guid>
      <dc:creator>Matt Pearse</dc:creator>
      <dc:date>2002-05-01T14:28:37Z</dc:date>
    </item>
  </channel>
</rss>

