The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet help mrice UNIX for Dummies Questions & Answers 1 08-11-2007 10:10 AM
TELNET help seshumohan Windows & DOS: Issues & Discussions 1 03-08-2007 01:13 AM
telnet with ksh taboaspedro Shell Programming and Scripting 2 12-30-2005 07:04 AM
Telnet vtran4270 UNIX for Advanced & Expert Users 1 09-16-2002 11:17 AM
getting on to telnet tamworther UNIX for Dummies Questions & Answers 1 08-20-2002 01:50 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2001
DPAI's Avatar
Registered User
 

Join Date: Jul 2001
Posts: 112
Telnet/Rsh

I am having a strange problem...
I am trying to telnet into my Solaris m/c But it gives "Connection Closed "
Same with rlogin and rsh
But I can Login into ftp or do a finger to that m/c.
I have no hosts.allow or hosts.deny entries .
And also have one hostname in my local m/c .
Can anybody help me out with this.
Thanx
Forum Sponsor
  #2 (permalink)  
Old 07-30-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42
you may want to check /etc/inetd.conf first.
are those services (telent, login...) available?

__________________
:rolleyes:
  #3 (permalink)  
Old 07-31-2001
DPAI's Avatar
Registered User
 

Join Date: Jul 2001
Posts: 112
I think so its available . I mean its not commented in the inetd.conf file.
This is wat i get
% telnet rms
Trying 141.221.66.45...
Connected to rms.
Escape character is '^]'.


SunOS 5.8

Connection closed by foreign host

  #4 (permalink)  
Old 07-31-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42
Looks like you or your host not allow to telnet that machine

1. check your loginname is on local password file if this machine is using local passwd. Or NIS passowrd file...etc.

2. does any user.allow or user.deny files on /etc?

--yellowfish

__________________
:rolleyes:
  #5 (permalink)  
Old 07-31-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,304
Yes, you can see that inetd.conf is OK by your post.

The problem could also be that the IP address does not resolve to the host name and your machine is configured to disallow telnet from clients without a proper DNS IP to name entry.

Just a thought....

Also, you might check to see if your telnetd server is running identd and if so, in what configuration.....
  #6 (permalink)  
Old 08-01-2001
DPAI's Avatar
Registered User
 

Join Date: Jul 2001
Posts: 112
Neo ,
I am not able to understand wat u want to say in ur last sentence
The user is local with no .allow or .deny entries in it.

And also giving telnet connects to the m/c .But just b4 the login prompt it says "Connection Closed".So i do not think there is a name resolution prob here

  #7 (permalink)  
Old 08-01-2001
Registered User
 

Join Date: Jul 2001
Location: dc
Posts: 25
are you trying to login as ROOT?
or
are you trying to login as a nonprivilaged user?

if as root, then,
2 things...
1) look in the remote systems /etc/default/login
you should see CONSOLE=/dev/console place a # sign before this line....this line will prevent root to login remotely.

if you want rlogin to work then you must have a .rhosts file with the name of the other systems in your .rhosts file....(this should be on both systems invovled.)
this is not recommended bc you can rlogin without passwd.

i hope this helps
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0