<?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: how to login as root, using telnet??? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209535#M10404</link>
    <description>some people have problems with long threads, isn't it ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 05 Mar 2004 10:25:26 GMT</pubDate>
    <dc:creator>Olivier Drouin</dc:creator>
    <dc:date>2004-03-05T10:25:26Z</dc:date>
    <item>
      <title>how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209524#M10393</link>
      <description>Hi to All&lt;BR /&gt; when I telnet the remote machine running RedHat 8.0, as root, it doesnt allow to connect to as root, and said "login incorrect". why???&lt;BR /&gt;what should I have to do so that I can telnet the system as root. &lt;BR /&gt;Ok, I telnet the remote system as a normal user, and then I issue "su" command so that i can logon as root, so i write "$ su root" and provide root password, I(root) logon succeesfuly, but whatever command I issue(i m root now) the system says "bash: shutdown: command not found" or "bash: init: command not found", so I want to know that why I cant do any admin work(receiving "command not found"), although I m login as root on the remote machine.&lt;BR /&gt;&lt;BR /&gt;Thanks in anticipation&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sharf</description>
      <pubDate>Thu, 04 Mar 2004 11:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209524#M10393</guid>
      <dc:creator>Sharfuddin</dc:creator>
      <dc:date>2004-03-04T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209525#M10394</link>
      <description>Check /etc/xinetd.d/telnet file.&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2004 11:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209525#M10394</guid>
      <dc:creator>sinhass</dc:creator>
      <dc:date>2004-03-04T11:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209526#M10395</link>
      <description>Have a look at your /etc/passwd file.  See if the entry for "root" looks OK.  &lt;BR /&gt;&lt;BR /&gt;Then, look at root's .profile and see if PATH is being set to something silly.  A common path error is something like "export PATH=/usr/local/bin:PATH" (missing the $ before the second PATH).  This will make most applications "Not found".&lt;BR /&gt; &lt;BR /&gt;If you are being given a login message then it isn't an xinetd problem.  May want to check that your tty's are in /etc/securetty but that won't cause the problem you get after you su.&lt;BR /&gt; &lt;BR /&gt;check your environment, run "env" and see if there a re any obvious variables not set correctly, $HOME comes to mind.&lt;BR /&gt; &lt;BR /&gt;All in all, to me it looks like there is a bit of a problem with the root account.  Either in one of the .profile type files or in /etc/passwd itseÃ¸</description>
      <pubDate>Thu, 04 Mar 2004 12:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209526#M10395</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-04T12:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209527#M10396</link>
      <description>Its not a good idea to login directly "root".&lt;BR /&gt;&lt;BR /&gt;For your other problem:&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/the/path/to/some/bin&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;su - root&lt;BR /&gt;the "-" will load /etc/profile and/or ~/.profile. &lt;BR /&gt;Your PATH will be set then...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2004 13:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209527#M10396</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-03-04T13:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209528#M10397</link>
      <description>Hello Sharf,&lt;BR /&gt;&lt;BR /&gt;if you really want to login as root you need to&lt;BR /&gt;adapt /etc/securetty and add your terminal like&lt;BR /&gt;&lt;BR /&gt;tty1&lt;BR /&gt;tty2&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;Having said that, generally it is a better idea to use ssh for this purpose. Try &lt;BR /&gt;&lt;BR /&gt;ssh root@&lt;NODE&gt;&lt;BR /&gt;&lt;BR /&gt;This will most probably work. You might need to confirm the setup of some keys upon first login.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin&lt;/NODE&gt;</description>
      <pubDate>Thu, 04 Mar 2004 13:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209528#M10397</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-03-04T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209529#M10398</link>
      <description>Martin has the right thoughts.&lt;BR /&gt;&lt;BR /&gt;The two main ways of allowing the user 'root' to telnet into a machine is to stack the /etc/securetty with pseudo tty's (defeats the purpose), or to modify the /etc/pam.d/telnet, removing the reliance upon the 'secretty' lib.&lt;BR /&gt;&lt;BR /&gt;Generally though, do away with telnet, and just use SSH.&lt;BR /&gt;&lt;BR /&gt;The whole point of not allowing access to root directly is a security measure to stop people from dictionary-hacking the machine remotely.&lt;BR /&gt;&lt;BR /&gt;Even if they break into a user account, they then have to do it again to get any privileges.</description>
      <pubDate>Thu, 04 Mar 2004 18:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209529#M10398</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-04T18:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209530#M10399</link>
      <description>Sharf,&lt;BR /&gt;I don't think its a good idea to allow root login via telnet. Thats the reason why its disabled on your system.&lt;BR /&gt;&lt;BR /&gt;In any case if there is a pressing need for you to do this for variety of reasons know to you, our colleagues have already posted solutions.&lt;BR /&gt;&lt;BR /&gt;I would think telnetting as yourself and then doing a su would be the way to go. Also i would suggest that you think of implementing SSH on your systems, that would make them more secure&lt;BR /&gt;&lt;BR /&gt;Just my thoughts&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 05 Mar 2004 01:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209530#M10399</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-03-05T01:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209531#M10400</link>
      <description>First I want to say THANKS to u all, I really appreciate u peoples&lt;BR /&gt; Unfortuately, I have to left my city, so I cant do the work u people suggest.&lt;BR /&gt; I'll be in my city Tommorow, then I'll reply again.&lt;BR /&gt; Thanx to All</description>
      <pubDate>Fri, 05 Mar 2004 02:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209531#M10400</guid>
      <dc:creator>Sharfuddin</dc:creator>
      <dc:date>2004-03-05T02:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209532#M10401</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You're using su without the "-" symbol, which sets root's environment for your session.&lt;BR /&gt;&lt;BR /&gt;So, try this command:&lt;BR /&gt;su - root&lt;BR /&gt;&lt;BR /&gt;And you will find all your commands.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Fri, 05 Mar 2004 07:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209532#M10401</guid>
      <dc:creator>Robert Binkhorst</dc:creator>
      <dc:date>2004-03-05T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209533#M10402</link>
      <description>Robert,&lt;BR /&gt;I should say you have a good eye for details :-). I did not notice that he was not using '-' with su.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 05 Mar 2004 07:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209533#M10402</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-03-05T07:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209534#M10403</link>
      <description>By default, Red Hat Linux has since at least version 7.0 not allowed by default root login from telnet.&lt;BR /&gt;&lt;BR /&gt;The reason is that telnet does user authentication in clear text, which means anybody along the route or with a sniffer can get your root password during authentication.&lt;BR /&gt;&lt;BR /&gt;I have experienced a second root account being set up on my Red Hat 7.3 box(long since upgraded). I can only believe that occurred due to packet sniffing or some other security flaw.&lt;BR /&gt;&lt;BR /&gt;Since then I use telnet on a normal user account to my ISP and then use SSH to log on. openssh is set up on your Red Hat box to allow root login if you installed it at all. Its secure and I recommend it.&lt;BR /&gt;&lt;BR /&gt;I strongly advise against editing /etc/securetty or the other methods of allowing root to log in directly by telnet.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 05 Mar 2004 08:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209534#M10403</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-05T08:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209535#M10404</link>
      <description>some people have problems with long threads, isn't it ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 10:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209535#M10404</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-03-05T10:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209536#M10405</link>
      <description>just joking btw ;-)</description>
      <pubDate>Fri, 05 Mar 2004 10:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209536#M10405</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-03-05T10:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209537#M10406</link>
      <description>Hi to All&lt;BR /&gt; Folks, I m much pleased, and thankfull to u all, for the feedbacks.&lt;BR /&gt; Sinhass there is nothing wrong in /etc/xinetd.d/telnet&lt;BR /&gt; Mark Grant, I worked on you suggestions, and succeed. As per your instruction in /etc/securetty, I add pts/1, pts/2....not ttyx(tty1, tty2...were alredy there), and then try root login via telnet, and login ssuccessfuly. again thanks, for support.&lt;BR /&gt; Olivier Drouin , u are indeed Great, yes u were wright, I followed ur instructions, and succeed, thanks, and so nice of u.&lt;BR /&gt; Martin P.J. Zinser,  u too a Great, as per your instructions I did &lt;BR /&gt;#ssh root@node, and succeed. And you told me to check /etc/securetty, I check this file, and found all ttys(tty1, tty2, ...), but have to add pts/x, and it works.&lt;BR /&gt; Stuart Browne, I didnt find the /etc/pam.d/telnet file, so I didnt follow u, sorry and thanks.&lt;BR /&gt; And in last thanks a lot, Mobeen for u r kind suggestions/thoughts.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;sharf</description>
      <pubDate>Fri, 05 Mar 2004 23:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209537#M10406</guid>
      <dc:creator>Sharfuddin</dc:creator>
      <dc:date>2004-03-05T23:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to login as root, using telnet???</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209538#M10407</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;   In /etc directory the filename called &lt;BR /&gt;securetty.  just rename that file .  u can login as the root&lt;BR /&gt;&lt;BR /&gt;like&lt;BR /&gt;&lt;BR /&gt;#mv /etc/securetty /etc/securetty.old&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2004 01:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-login-as-root-using-telnet/m-p/3209538#M10407</guid>
      <dc:creator>Saravanan_9</dc:creator>
      <dc:date>2004-04-06T01:30:33Z</dc:date>
    </item>
  </channel>
</rss>

