?
Solved

cannot telnet to new machine on network.

Posted on 2002-03-18
5
Medium Priority
?
246 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 200 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 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