Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Telnet setup

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> Telnet setup Page: [1]
Login
Message << Older Topic   Newer Topic >>
Telnet setup - Jul. 26, '04, 1:42:37 PM   
lcnmorais

 

Posts: 12
Joined: Jul. 23, '04,
Status: offline
Hi,

I am trying to setup telnet in my server, it is runnig but if I want to user ksh prompt I have to call it directly or put it in the login.cmd file. And the PATH gets wrongy! it does not see some Interix apps like "ls".

Thanks,
Luciano Morais da Silva
Post #: 1
RE: Telnet setup - Jul. 26, '04, 3:41:45 PM   
lcnmorais

 

Posts: 12
Joined: Jul. 23, '04,
Status: offline
Hi,

I could carry the last problem out by my self, thanks anyway, but I am sure I would be helped. I have installed and started in.telnetd, but I have found some other problems:

1) All client connects starts with sh, I wish they could use ksh always, But I am still in doubt.

2) In a Client connection, everytime I try to call a win32 aplication, even cmd, if this when this app stops to accept any data it is aborted. I mean, if I type cmd in the sh prompt, as soon as it gets ready te receive data it is aborted.

Thanks alot!
Luciano Morais da Silva.

(in reply to lcnmorais)
Post #: 2
RE: Telnet setup - Jul. 26, '04, 4:17:37 PM   
Rodney

 

Posts: 3696
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
On Interix sh is the same asksh.

You can't run all Win32 applications from a telnet connection.
If you want to do that you can run the Win32 version of the Telnet server.
Refer to the Help that comes with SFU off of the start->programs->SFU menu.

(in reply to lcnmorais)
Post #: 3
RE: Telnet setup - Jul. 27, '04, 8:52:01 AM   
markfunk

 

Posts: 669
Joined: Mar. 31, '03,
Status: offline
1) when using the Windows tlntsvr.exe - invoke ksh using "%SFUDIR%\bin\ksh -l". This should set up PATH properly.

2) when using Interix in.telnetd, interactive win32 programs won't work because win32 C runtime libraries don't recognize the handle to the Interix pseudo tty as a valid input/output handle. So the programs think they are EOF and terminate.
The only workaround is to use file redirection so the win32 programs get their input from a file.

(in reply to Rodney)
Post #: 4
RE: Telnet setup - Jul. 28, '04, 6:48:50 PM   
jonsmi

 

Posts: 168
Joined: Aug. 12, '03,
From: Oslo, Norway
Status: offline
Personally I thought telnet was a thing of the past, information is passed unencrypted, also passwords, unless you use NTLM authentication (which by itself is not tamper-proof and can't be used from UNIX/Linux-clients).

But then again, if it's telnet you want, use the Windows version for some of your Windows tasks, and use ssh/sshd for Interix and a lot of Windows commands. Telnet listens on port 23, ssh on port 22, so they should not disturb each other.

One of the secrets -- as I see it -- in order to issue Win32 console commands on Interix, is to add them to the Korn shell script wrappers found in /usr/contrib/win32/bin.

For further instructions on these files, I posted a description in SFU/Interix -- Getting started, thread: "How To Run Java on SFU." The beauty of this approach is that you can do much of your Windows 2003 administration from a Linux box or Interix from the command line, such as adding users, resetting password and logging them off servers, etc.

(in reply to lcnmorais)
Post #: 5
RE: Telnet setup - Jul. 29, '04, 8:17:20 AM   
lcnmorais

 

Posts: 12
Joined: Jul. 23, '04,
Status: offline
Hello,

Thanks for all the information.

I chosse to use telnet since it a low cust way to access remote servers, in my case, it is easyer to do some admin tasks like coping files etc. I have tryied VNC but I think it is to slow, but if you have another option, it will be very wellcome!!

Is there any kind o effort to turn other aplications compatible with interix. For exemplo Oracle cames with some utilities for Interix?


Thanks,
Luciano Morais da Silva

(in reply to jonsmi)
Post #: 6
Page:   [1]
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> Telnet setup Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.109