<?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: disable telnet for a user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443665#M207656</link>
    <description>/var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;Allows you to block certain users by ip address.&lt;BR /&gt;&lt;BR /&gt;Otherwise you can code the /etc/profile or the .profile to check the login type and reject.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 14 Dec 2004 16:27:03 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-12-14T16:27:03Z</dc:date>
    <item>
      <title>disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443662#M207653</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I want to disable telnet access to a perticular user but this user should be able to login via SSH.  How do I achieve this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help!!&lt;BR /&gt;Raji</description>
      <pubDate>Tue, 14 Dec 2004 15:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443662#M207653</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2004-12-14T15:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443663#M207654</link>
      <description>If this suer comes from a fixed ip_Adress/network, you can disbale telnet in /var/adm/inetd.sec file.&lt;BR /&gt;Else, you will have to install tcp wrappers and make use of /etc/hosts.allow and /etc/hosts.deny files. &lt;BR /&gt;If you have HP ssh installed, it has tcp wrappers in built. (You can prepare file /etc/hosts.deny with entry ALL:ALL to test it)&lt;BR /&gt;, prepare /etc/hosts deny file and deny user access to telnet.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 14 Dec 2004 15:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443663#M207654</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-12-14T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443664#M207655</link>
      <description>Anil,&lt;BR /&gt;&lt;BR /&gt;Can you please give me syntax to create the /etc/hosts.deny file?  If I put &lt;BR /&gt;&lt;BR /&gt;deny:ALL as per you does it deny everyone telnet access? I just want to deny telnet access to a perticular group/user.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 14 Dec 2004 16:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443664#M207655</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2004-12-14T16:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443665#M207656</link>
      <description>/var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;Allows you to block certain users by ip address.&lt;BR /&gt;&lt;BR /&gt;Otherwise you can code the /etc/profile or the .profile to check the login type and reject.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Dec 2004 16:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443665#M207656</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-14T16:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443666#M207657</link>
      <description>How about you reset the password for that user on the host that you don't want the user to connect.&lt;BR /&gt; &lt;BR /&gt;If you have SSH configured right, then the password is no longer needed and if the user does not know the password of the host they are connecting to, they can't use telnet.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 14 Dec 2004 16:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443666#M207657</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-12-14T16:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443667#M207658</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;One way of doing it is to put some code in /etc/profile to see if the parent of the shell is 'telnetd' daemon and quit if it is. You obviously have to put some checks in there as you may not get the information first hand.&lt;BR /&gt;&lt;BR /&gt;Otherwise, implement telnet through tcp_wrappers and adjust hosts.deny file. You can download tcp_wrappers from HP's porting site.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 15 Dec 2004 02:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443667#M207658</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-12-15T02:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443668#M207659</link>
      <description>SSH and Telnet run on different port(telnet 23; ssh: 22 as default) so you can grant access list for each individually.&lt;BR /&gt;/var/adm/inetd.sec is able to block access for telnet and rlogin base on IP ( unable to block connection base on userID&lt;BR /&gt;2, You should try to user tcp_wrappers for performing you idea.&lt;BR /&gt;tienna.</description>
      <pubDate>Wed, 15 Dec 2004 03:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443668#M207659</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2004-12-15T03:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443669#M207660</link>
      <description>HI Raji&lt;BR /&gt;&lt;BR /&gt;Disabling telent for a perticular user can be done as follows.&lt;BR /&gt;1) put "exit 0" code in .profile of the user. &lt;BR /&gt;2)Change the shell of the user to something like&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;(This will disable ftp access also. To enable only ftp not telnet , add the shell i.e./usr/bin/false to the /etc/shells file)&lt;BR /&gt;&lt;BR /&gt;There may be other ways..&lt;BR /&gt;&lt;BR /&gt;SSH no idea..&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 15 Dec 2004 05:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443669#M207660</guid>
      <dc:creator>Suraj_2</dc:creator>
      <dc:date>2004-12-15T05:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: disable telnet for a user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443670#M207661</link>
      <description>Assuming OpenSSH server, simply check for an sshd environment variable in the system's or user's profile.&lt;BR /&gt;&lt;BR /&gt;if [ "$LOGNAME" == "joeuser" -a -z "$SSH_TTY" ]; then logout; fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 19:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-for-a-user/m-p/3443670#M207661</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2004-12-15T19:32:30Z</dc:date>
    </item>
  </channel>
</rss>

