<?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 enable ssh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345512#M191561</link>
    <description>hi Calvin,&lt;BR /&gt;&lt;BR /&gt;to disable telnet comment following line in&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;telnet  stream tcp nowait root usr/lbin/telnetd  telnetd&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;restart inetd by inetd -c&lt;BR /&gt;&lt;BR /&gt;br Jan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Jul 2004 06:39:24 GMT</pubDate>
    <dc:creator>Jan Sladky</dc:creator>
    <dc:date>2004-07-30T06:39:24Z</dc:date>
    <item>
      <title>Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345505#M191554</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i am currently using hp-ux 11.00 and have this set-back.&lt;BR /&gt;&lt;BR /&gt;i would like to enquire about &lt;BR /&gt;1)how do i enable ssh to allow only users to access the system and not the root account to enter the system?&lt;BR /&gt;2)how can i disable telnet function on the HP-UX 11.00 system and enable ssh instead?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Calvin</description>
      <pubDate>Fri, 30 Jul 2004 05:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345505#M191554</guid>
      <dc:creator>twtandigi.com.my</dc:creator>
      <dc:date>2004-07-30T05:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345506#M191555</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To avoid that users can not do "su - root" from system prompt, add in the /etc/defaul/security file the following line:&lt;BR /&gt;SU_ROOT_GROUP=&lt;GROUP_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;Where &lt;GROUP_NAME&gt; wil be a group of users defined into /etc/group that can execute "su - root", if only root user belong at this group nobody more can done the command.&lt;BR /&gt;&lt;BR /&gt;Other way could be the /etc/securetty file, where indicate the valid devices (tty's or console) to allow root's logings.&lt;BR /&gt;&lt;BR /&gt;Telnet is a service, and ssh is a command interpreter, both of them are complementary and not excluding. You could change a standar command interpreter by secure shell (ssh), but all of them always needs telnet services, at least on LAN environments.&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/GROUP_NAME&gt;&lt;/GROUP_NAME&gt;</description>
      <pubDate>Fri, 30 Jul 2004 06:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345506#M191555</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-07-30T06:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345507#M191556</link>
      <description>Hi there.&lt;BR /&gt;In the /etc/inetd.conf you can disable the telnet line ( # in front of it ).&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Fri, 30 Jul 2004 06:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345507#M191556</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2004-07-30T06:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345508#M191557</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;In any case, if you need restric the telnet service you can configure the /var/adm/inetd.sec file. For detail pls "man inetd.sec". Also other services like ftp, rmsh/rcp can be restricted by this file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Fri, 30 Jul 2004 06:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345508#M191557</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-07-30T06:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345509#M191558</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in order to disable telnet you have to comment out the line of telnet service in /etc/inetd.conf:&lt;BR /&gt;# telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd&lt;BR /&gt;&lt;BR /&gt;About ssh: you should be able to use it just after the installation of the ssh package. Sincerely I don't know if it is possible to deny root access and permit other users.&lt;BR /&gt;I think /var/adm/inetd.sec wher you can deny ssh service by IP address/hostnames but it is not possible by usernames.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Fri, 30 Jul 2004 06:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345509#M191558</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-07-30T06:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345510#M191559</link>
      <description>1) sorry - not too familiar with the user authentication side of the product&lt;BR /&gt;2) you can disable the telnet function by putting the following line in /var/adm/inetd.sec: &lt;BR /&gt;telnet   deny&lt;BR /&gt;Enabling ssh is part of the installation process whereby you need to authenticate each each remote host on the local server and copy the authorized_keys file into the .ssh directory of each remote host. The product should come with full installation guides I think.</description>
      <pubDate>Fri, 30 Jul 2004 06:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345510#M191559</guid>
      <dc:creator>sparky_2</dc:creator>
      <dc:date>2004-07-30T06:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345511#M191560</link>
      <description>IF you want to totally disble telnet then comment (#) telnetd entry in /etc/inetd.conf file. But it is not good to test the services  and login into machines those who are not having ssh&lt;BR /&gt;&lt;BR /&gt; So why do not you try to block the users to use telnet with inetd.sec file. Give ip-address or hostname in that file and block them to use telnet.&lt;BR /&gt;&lt;BR /&gt; To make the users to use with user accounts to login only, create a file as &lt;BR /&gt;&lt;BR /&gt; echo "console" &amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt; login security will be in effect now.&lt;BR /&gt;&lt;BR /&gt; See login man page to know securetty more&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 06:30:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345511#M191560</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-30T06:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345512#M191561</link>
      <description>hi Calvin,&lt;BR /&gt;&lt;BR /&gt;to disable telnet comment following line in&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;telnet  stream tcp nowait root usr/lbin/telnetd  telnetd&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;restart inetd by inetd -c&lt;BR /&gt;&lt;BR /&gt;br Jan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 06:39:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345512#M191561</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2004-07-30T06:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345513#M191562</link>
      <description>Change the permission of /etc/securetty file to 600 so that users cannot change the one.&lt;BR /&gt;&lt;BR /&gt; And more SU_ROOT_GROUP parameter will not be helpful to stop the root logins. It will be used to stop the users to use su to promote as users.&lt;BR /&gt;&lt;BR /&gt; To block root logins using ssh, tune &lt;BR /&gt; &lt;BR /&gt;PermitRootLogin=0 on sshd_config file &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 06:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345513#M191562</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-30T06:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet enable ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345514#M191563</link>
      <description>To disable telnet:&lt;BR /&gt;&lt;BR /&gt;Modify /etc/inetd.conf.  Put a # infront of the line that starts with telnet.&lt;BR /&gt;&lt;BR /&gt;If implementing ssh you may also want to disable the r-commands (rlogin, remsh, etc) since ssh is a replacement for these as well.  The valid lines are login (for rlogin), shell (for remsh), and exec.&lt;BR /&gt;&lt;BR /&gt;FTP as well though this may be more difficult if you use ftp from a PC which does not support sftp or scp.  &lt;BR /&gt;&lt;BR /&gt;Once you make these changes, you need to have inetd re-read it's configuration file.&lt;BR /&gt;&lt;BR /&gt;Send it a SIGHUP command or issue the command inetd -c to get it to reread it's configuration.&lt;BR /&gt;&lt;BR /&gt;To prevent direct login via ssh, you need to modify the /opt/ssh/etc/sshd_config script. Make sure there is a line that says PermitRootLogin no is not commented.  You will need to restart ssh (/sbin/init.d/secsh stop, /sbin/init.d/secsh start)&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 06:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-telnet-enable-ssh/m-p/3345514#M191563</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2004-07-30T06:43:22Z</dc:date>
    </item>
  </channel>
</rss>

