![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 02:13 AM |
| telnet with ksh | taboaspedro | Shell Programming and Scripting | 2 | 12-30-2005 08: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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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
|
|||
|
|||
|
you may want to check /etc/inetd.conf first.
are those services (telent, login...) available?
__________________
:rolleyes: |
|
#3
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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 |