1753505 Members
4524 Online
108794 Solutions
New Discussion юеВ

Re: unable to telnet

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

Re: unable to telnet

Telnet entry in /etc/inetd.conf looks like this on my system (11.11):

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
-TCP_DELAY

When a login occurs you should see a telnetd running for that session like:

ps -ef |grep telnetd
root 4692 740 0 16:54:00 pts/tk 0:00 telnetd -b /etc/issue -TCP_DELAY

The inetd.conf entry is basically the startup command for the telnet session. You may like to add the params above to yours.
PG
sreekanthtm
Trusted Contributor

Re: unable to telnet

Did u tried with any other user name, other than root and d46adm. Just to confirm, weather this problem is related to this particular user. And try to login from any other server os PC to verify the host access.

Don't forget to post the results here.
DuKul
Regular Advisor

Re: unable to telnet

Hello Sushil,

I have tried it:

#telnet localhost
Trying...
Connected to localhost.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX saptest B.11.11 U 9000/800 (ta)

login: d46adm
Password:
Login incorrect
login: d46adm
Password:
Login incorrect
login: d46adm
Password:
Login incorrect
Connection closed by foreign host.

in the syslog always the same 1 entry (onlly 1 and nothing more!):

Sep 25 10:30:30 saptest inetd[910]: telnet/tcp: Connection from localhost (127.0.0.1) at Thu Sep 25 10:30:30 2008

DuKul
Regular Advisor

Re: unable to telnet

hi sreekanthtm,

yes I have tried this for other user(s) - this problem is particular only for this user and only for telneting using its account.
Tom Henning
Trusted Contributor
Solution

Re: unable to telnet

This might be a little off the wall, but has the user been locked out of the system due to multiple login failures now? use
/usr/lbin/getprpw d46adm
on the box which is not allowing telnet to check on this. Everyone else has mentioned all of the other checks, but is this account using a '@' or a '#' in the password? If so, escape them with a backslash when typing them in or they will cause problems.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
DuKul
Regular Advisor

Re: unable to telnet

Tom, you hit the point!!!

Yes, the password has @ within itself and once escaping it with \ it works!

Now, what to define in .profile to escape it?

Dukul
Tom Henning
Trusted Contributor

Re: unable to telnet

To the best of my limit knowledge, you cannot. Authentication is handled before /etc/profile or .profile is executed, so it'a a matter of the system looking for these characters. You can search the forums for a more detailed answer, since this question has been discussed a number of times previously. From my 11i v1 system's man passwd pages:

Avoid password characters which have special meaning to the tty
driver, such as # (erase) and @ (kill). You may not be able to login
with these characters.

This may have been changed since 11iv1, but I'm stuck these days on the older release.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
DuKul
Regular Advisor

Re: unable to telnet

solution; avoid escape characters within passwords