Operating System - HP-UX
1838600 Members
3023 Online
110128 Solutions
New Discussion

Problem logging using telnet session

 
Nagaraju_2
Occasional Contributor

Problem logging using telnet session

Dear All,

I am not able to login using the telnet session from the remote pc, but am able to get the telnet session and i can login through
ftp session.

Thanks in advance

Nags
9 REPLIES 9
Eric Antunes
Honored Contributor

Re: Problem logging using telnet session

Hi Nagaraju,

Check if you have the telnet deamon running:

#ps -fu root|grep telnet

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Nagaraju_2
Occasional Contributor

Re: Problem logging using telnet session

Telnet daemon is running, i am able to
get the telnet login session but it is not
accepting my username and password.
Eric Antunes
Honored Contributor

Re: Problem logging using telnet session

What error message do you get?
Each and every day is a good day to learn.
Nagaraju_2
Occasional Contributor

Re: Problem logging using telnet session

Thanks for the kind reply, When we enter the
password its not accepting it, but am get ftp
login with same username and passwd.

Is there any thing we need to edit to get the
telnet login.

bhavin asokan
Honored Contributor

Re: Problem logging using telnet session

hi,

check on /etc/passwd file .the login shell may be set as /usr/bin/false.if yes edit it as /usr/bin/sh

regds,
Eric Antunes
Honored Contributor

Re: Problem logging using telnet session

Check also this deamon:

#ps -fu root|grep /usr/sbin/inetd

You must have this process running!
Each and every day is a good day to learn.
Stephen Keane
Honored Contributor

Re: Problem logging using telnet session

Can you log in on the console using the same user name and password? FTP will not use the user's profile, telnet will. If you have a problem in the user's profile or the system wide profile it can prevent you logging in. If you can log in on the console, then the profile is probably OK. Can you rlogin?
Jan Sladky
Trusted Contributor

Re: Problem logging using telnet session

Hi Nagaraju

add tty1 to /etc/securetty and try again.

Post the result

be aware that it isn't the right solution, better is using of ssh


rgds Jan
GSM, Intelligent Networks, UNIX
Muthukumar_5
Honored Contributor

Re: Problem logging using telnet session

What is the message you got while trying to login with telnet? Did you get login messages ? or only blank window?

If you are getting blank window then telnet login from your ip-address is blocked with inetd.sec or tcp wrappers.

If you are getting login messages like,
Login:
passwd:
then /etc/securetty file or pam.conf is containing blocking informations or /etc/profile contains script to block your login.

HTH.
Easy to suggest when don't know about the problem!