Solved

cannot telnet to new machine on network.

Posted on 2002-03-18
5
243 Views
Last Modified: 2013-12-27
There is a new machine on our network and when I try to telnet into it, I get a message saying "Not on console."  It won't let me telnet into it, so my question is:

What setting do I look for on a server that will not allow telnet from remote machines.

0
Comment
Question by:carydb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 5

Expert Comment

by:ecw
ID: 6877798
Try to login as something other than root.  By default root can only login on the console.  From /etc/default/login,

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
CONSOLE=/dev/console

0
 

Author Comment

by:carydb
ID: 6877832
Yes, I can login with my user ID, but I would like to log in as root.  The /etc/default/login Does not have CONSOLE set, so It seems like I should be able to telnet into the box.  The following is from the machine's /etc/default/login:

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
#CONSOLE=/dev/console


This new machine is replacing a machine that has been in the network for a while.  That older machine will allow telnets from root.
I would like to tkeep the new machine configured as closely as possible to the old one.

Any other ideas?

0
 
LVL 5

Expert Comment

by:ecw
ID: 6878455
This is the sual cause, have you checked the entire file to make sure there isn't any line beginning with
  CONSOLE=
0
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 6878702
Telnet is not secure, you should not use telnet to login as root to the system.

Get a copy of secure shell installed on you system, and use secure shell instead.

   you can download it from the following site:

   http://sunfreeware.com/

0
 
LVL 4

Expert Comment

by:newmang
ID: 6881208
You really should not allow root to telnet in directly, you should consider a secure shell as yush suggests.

In the meantime you can telnet in as your user then type su - and provide root's password to become root.

Note the - after the su means you become root with root's environment, if you leave the - off then you become root but with your own environment.

Cheers - Gavin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question