Solved

cannot telnet to new machine on network.

Posted on 2002-03-18
5
236 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now