unable to telnet into target

Hi,
I have done all settings for telnetting into target like inetd.conf, I
linked /bin/login to /bin/sh …(in build)
But I could not login into my target …
$telnet 192.168.6.18
trying 192.168.6.18
connected to 192.168.6.18
connection closed…
When i do telnet again (Without restarting)
$telnet 192.168.6.18
trying 192.168.6.18
telnetd:/bin/login no such file or directory

It mean that the /bin/login in target is not there after one time use …why
so ?
Even When i restart the target and if I try to use /bin/login, system hangs
and the login process in target dies …?
I am using fesh as my shell in target …

When i use ksh the system is giving few warning at booting …
sh:j_init:tcgetgrp() failed : Inappropriate I/O control
sh:warning:wont have full job control operation

regards
Manigandan

did you link in an /etc/passwd?

/bin/login needs a passwd file

Manigandan Varadharajan wrote:

Hi,
I have done all settings for telnetting into target like inetd.conf, I
linked /bin/login to /bin/sh …(in build)
But I could not login into my target …
$telnet 192.168.6.18
trying 192.168.6.18
connected to 192.168.6.18
connection closed…
When i do telnet again (Without restarting)
$telnet 192.168.6.18
trying 192.168.6.18
telnetd:/bin/login no such file or directory

It mean that the /bin/login in target is not there after one time use …why
so ?
Even When i restart the target and if I try to use /bin/login, system hangs
and the login process in target dies …?
I am using fesh as my shell in target …

When i use ksh the system is giving few warning at booting …
sh:j_init:tcgetgrp() failed : Inappropriate I/O control
sh> :warning:> wont have full job control operation

regards
Manigandan