• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:


i have got redhat linux 6.0 installed and when i try to telnet from a remote machine to  my machine using the root account i get " login incorrect" message.i am using the correct password for sure. it happens locally also.
please help me with this.
  • 2
1 Solution
That is, I believe, what it is supposed to do. Telnet is already insecure enough without allowing a root user to login from someplace else.  

Try this:  telnet in as an ordinary user.  As soon as you are logged in, "su" to root.

If you aren't sure what that means -- "su" is switch user or something like that.  If you just enter su at the command line, by default it is assumed you want to become root. So, when it asks for a passwd after you enter su, type the root password for that machine.

I have one RH 6.0 box and 4 Slackware boxes in my home LAN. They all work the same in this respect.  I like to add an account called "admin" that I use for remote login.  You don't even need to create a home directory for "admin."
Sorry, I overlooked the fact that you said it happens locally, too.  I've run into that on some RH 6.0 machines when  I  put together passwords with symbols like $ & and so on. Doesn't always happen. You might try logging in locally with the root password without the symbols. I have no clue why this occurs, I have experienced it on three RH 6.0 machines, other RH 6.0 machines didn't do this -- and I've never experienced it on any of the Slackware machines I put together.

However, you are still probably going to need to login as an ordinary user and su to root during telnet sessions
telnetting as root is bad practive and disabled by default. This is because anyone can sniff your password easily when you telnet as root.

You can instead telnet is as a normal user and su to root. I.E. type su
then you'll be prompted for the root password, and tada you're root.
A lot better than the NT model let me add, where you have to close
all programs log out and log back in as Administrator!

Anyway.. If you insist on telnetting as root, remove the file /etc/securetty
Or even better add the terminals (to the file /etc/securetty) that you want to allow root access on. The names are added one per line, for e.g.:


This will allow you to login as root on COM1, COM2 and 2 LAN telnet connections.

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now