telnet is not working

Posted on 2008-10-14
Last Modified: 2013-11-17
We have AIX server 5.3 level TL 8 . Whenever we telnet this server getting following error message
and failing to telnet and ssh is working
telnetd: /bin/login: No such file or directory
Connection closed.
Could anybody help me
Question by:rammaghenthar
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Expert Comment

by:Michael Worsham
ID: 22710861
Check to see under /etc/passwd for the user you are trying to login with if their shell is pointing to /bin/login. If so, change it to the basic shell (/bin/sh) and see if that corrects the problem.

Author Comment

ID: 22710924
[130]# ls -l /bin/login
lrwxrwxrwx   1 root     security         13 Oct 13 21:36 /bin/login -> /usr/sbin/tsm
[1]# ls -l /usr/sbin/tsm
/usr/sbin/tsm not found
LVL 68

Assisted Solution

woolmilkporc earned 400 total points
ID: 22710957
check whether is installed.
This package contains /usr/sbin/tsm.
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

LVL 68

Assisted Solution

woolmilkporc earned 400 total points
ID: 22711207
There is also an apar concerning problems in related to /usr/sbin/tsm:
Please check it here:

Accepted Solution

rammaghenthar earned 0 total points
ID: 22711557
[0]# lslpp -l
  Fileset                      Level  State      Description
Path: /usr/lib/objrepos  COMMITTED  Base Security Function

Path: /etc/objrepos  COMMITTED  Base Security Function

LVL 68

Expert Comment

ID: 22711938
Since /usr/sbin/tsm is part of and tsm is not found, you'll have to reinstall the package  or recover tsm from backup.
Use 'overwrite same or newer versions: yes' when reinstalling via smit.
I hope reinstall will work, because is tightly coupled with bos.rte.
Try 'preview only: yes' first!

Author Comment

ID: 22717607
Hi  woolmilkporc ji
           I believe you mean is bos.rte.securtiy fileset I need to install ? which  version of pack need to install ?or whole telnet pack need to install ? or IZ19034 APAR need to install ?
LVL 68

Assisted Solution

woolmilkporc earned 400 total points
ID: 22718629
Hi rammaghenthar,
if you can' t recover /usr/sbin/tsm, perhaps from another machine with installed or from a backup, you should reinstall (if you really have TL 8 running) with the above precautions. It's a bit strange that your lslpp says you had,
because TL8 contains
What does 'oslevel -s' say?
What 'instfix -i | grep ML' ? If you can't find 5300-08_AIX_ML here,  enter
'oslevel -rl 5300-08'
It's possible that you will have to re-run your update for TL8, but let's first look at the output of the above commands. Please post it, including the output of 'oslevel -qr'.
LVL 10

Assisted Solution

dfke earned 100 total points
ID: 22728964
Also, the location for telnetd is /usr/sbin/telnetd. If telnetd is moved to another location, modify the inetd.conf accordingly. Check /etc/inetd.conf.

The minimal inetd.conf contents to make telnetd work:
telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd      telnetd -a

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question