<?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: Executing script/command after Telnet login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753772#M488685</link>
    <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; I know nothing, and many things are possible, but...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Any user must login using a telnet client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Does that mean that a connection made using rsh/remsh or ssh does not&lt;BR /&gt;lead to this menu program/script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If it _is_ Telnet-specific, then I'd look at /etc/inetd.conf to see&lt;BR /&gt;what gets run when a Telnet connection is attempted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In desperation, I might look at "ps" output to see what's running&lt;BR /&gt;when this menu thing is operating, and then start looking for _it_.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2015 19:05:17 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2015-06-09T19:05:17Z</dc:date>
    <item>
      <title>Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753753#M488684</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;We have a server with HP-UX (HP-UX favc B.11.11 U 9000/800 146404690 unlimited-user license) that is used as a bridge to another server. It is very old.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this server operates as the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Any user must login using a telnet client.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;All users use Widnows as their OS.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;When any user logs in via telnet a menu appears.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;This menu allow users to do some things such as connecting to another server, print some information, etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to replicate this configuration in another server, but I cannot find the way to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've checked the '/etc/profile' file and the '.profile' for every user but I cannot find any reference to the telnet's behaviour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please point me to the right direction. Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 17:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753753#M488684</guid>
      <dc:creator>jerry_barajas</dc:creator>
      <dc:date>2015-06-09T17:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753772#M488685</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; I know nothing, and many things are possible, but...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Any user must login using a telnet client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Does that mean that a connection made using rsh/remsh or ssh does not&lt;BR /&gt;lead to this menu program/script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If it _is_ Telnet-specific, then I'd look at /etc/inetd.conf to see&lt;BR /&gt;what gets run when a Telnet connection is attempted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In desperation, I might look at "ps" output to see what's running&lt;BR /&gt;when this menu thing is operating, and then start looking for _it_.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753772#M488685</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-09T19:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753791#M488686</link>
      <description>&lt;P&gt;I would check the default shell in /etc/passwd for the users. &amp;nbsp;It may be that the default shell is the menu system script rather than a real shell (like /usr/bin/sh, /usr/bin/csh, etc.).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 20:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753791#M488686</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2015-06-09T20:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753795#M488687</link>
      <description>&lt;P&gt;&amp;gt; I would check the default shell in /etc/passwd for the users. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Or that. Step one is to determine (or reveal) whether the key fact&lt;BR /&gt;is Telnet, or a particular set of users, or what.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 20:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6753795#M488687</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-09T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6756354#M488706</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably the menu application is a simple shell script, that is loaded&amp;nbsp;through the passwd file (as said), check out it, it will pointed to the script filename...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 17:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6756354#M488706</guid>
      <dc:creator>RenatoMartini</dc:creator>
      <dc:date>2015-06-18T17:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script/command after Telnet login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6757534#M488734</link>
      <description>&lt;P&gt;Telnetd (configured by inted.conf on hpux) is calling an alternative login program(a script)&lt;/P&gt;&lt;P&gt;On linux i have this line,check for similar on your hpux server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd -L /usr/local/bin/alternative.sh&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jun 2015 00:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-command-after-telnet-login/m-p/6757534#M488734</guid>
      <dc:creator>uxbeginner22</dc:creator>
      <dc:date>2015-06-23T00:33:58Z</dc:date>
    </item>
  </channel>
</rss>

