Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

cannot telnet to new machine on network.

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
carydb
Asked:
carydb
1 Solution
 
ecwCommented:
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
 
carydbAuthor Commented:
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
 
ecwCommented:
This is the sual cause, have you checked the entire file to make sure there isn't any line beginning with
  CONSOLE=
0
 
yuzhCommented:
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
 
newmangCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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