- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet issue in HPUX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:13 AM
08-19-2009 06:13 AM
I am using HPUX 11.00, and i have configured telnet, rlogin and ftp in /etc/inetd.conf.
All three was working fine.
Some 3 months before i am not able to connect through Telnet by using putty but able to connect by using telnet command available in Windows XP.
Then for past 2 weeks i am not able to connect through Telnet by using telnet command available in Windows XP.
Please find my configuration file:
# vi /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l-v-o
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/security.banner
login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/security.banner
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:27 AM
08-19-2009 06:27 AM
Re: Telnet issue in HPUX 11.00
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/security.banner <<<===
==>
1)Are you getting the banner(/etc/security.banner ) while trying to do the telnet?
2)Is this file /etc/security.banner is exists??
Reagrds,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:27 AM
08-19-2009 06:27 AM
Re: Telnet issue in HPUX 11.00
Well, did you tell PuTTY to use telnet (as it's default is ssh)?
"Then for past 2 weeks i am not able to connect through Telnet by using telnet command available in Windows XP."
Is there a firewall in the mix somewhere that may be filtering (blocking) port 23 / telnet traffic? What error messages do you get when you try it.
Does telnet from anywhere else to the 11.0 box in question work?
Are the XP box and HPUX on the same subnet or different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:27 AM
08-19-2009 06:27 AM
Re: Telnet issue in HPUX 11.00
Whenever you try to connect, what message do you get after usuing the user name and password? Or do you get any prompt at all?
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:33 AM
08-19-2009 06:33 AM
Re: Telnet issue in HPUX 11.00
What is the error message you are getting when trying to telnet?
Use netstat to check that inetd has read inetd.conf and has opened a socket for port 23 (telnet) and this is in LISTEN status.
# netstat -a |grep telnet
Enable inetd -l and check syslog.log to see if any critical error is logged when telnetd starts.
# lsdev
Look for "tels" and "telm" in the third field.
Check the master driver's device file:
# ll /dev/telnetm
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:33 AM
08-19-2009 06:33 AM
Re: Telnet issue in HPUX 11.00
See the attached picture of the PuTTY configuration dialog - you *did* select telnet/port23 didn't you?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:34 AM
08-19-2009 06:34 AM
Re: Telnet issue in HPUX 11.00
inetd -k
inetd -l
after doint this, please login to this server and run
tail -f /var/adm/syslog/syslog.log
as you try to telnet to it from another server to see if your request is even reaching the server.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:45 AM
08-19-2009 06:45 AM
Re: Telnet issue in HPUX 11.00
1)The file " /etc/security.banner " is available.
2)When trying from windowsXP using the command "telnet servername"
I am getting black screen after some time (may 15secs) the command prompt will be seen.
I am not able to see the banner.
3)When trying from Linux:
I am getting following error.
suse10tst:~ # telnet ad002223 23
Trying 143.242.67.10...
Connected to ad002223.
Escape character is '^]'.
Connection closed by foreign host.
4)When trying from other Unix:
I am getting following error
root@lgsna:/root > telnet ad002223
Trying...
Connected to ad002223.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:53 AM
08-19-2009 06:53 AM
Re: Telnet issue in HPUX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 06:57 AM
08-19-2009 06:57 AM
Re: Telnet issue in HPUX 11.00
#telnet
2)Remove the "-B /etc/security.banner" from /etc/inetd.conf, restart inetd with #inetd -c and try,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 07:03 AM
08-19-2009 07:03 AM
Re: Telnet issue in HPUX 11.00
As you suggested i checked the log file (syslog).
root@lgapps:/var/adm/syslog > cat syslog.log | grep -i telnet
Aug 19 09:47:36 ad002223 inetd[3743]: telnet/tcp: Connection from emdlagopsmgr (10.250.0.121) at Wed Aug 19 09:47:36 2009
Aug 19 09:47:36 ad002223 inetd[3743]: execv /usr/lbin/telnetd: Permission denied
Then i changed the permission of the file "telnetd"
root@lgapps:/var/adm/syslog > ll /usr/lbin/telnetd
-r--r--r-- 1 bin bin 94208 Mar 27 2002 /usr/lbin/telnetd
root@lgapps:/var/adm/syslog > chmod 544 /usr/lbin/telnetd
Now it is working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 07:05 AM
08-19-2009 07:05 AM
Re: Telnet issue in HPUX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 07:05 AM
08-19-2009 07:05 AM
Re: Telnet issue in HPUX 11.00
Since you can not even see the banner, there might be some offending characters, causing your connection to drop. Or you might be running some sort of a software firewall which is not allowing telnet connections and forcing them to drop as they come in.
Without actual data on the server (not only on the client itself) it is hard to say what's happening.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2009 07:25 AM
08-19-2009 07:25 AM
Re: Telnet issue in HPUX 11.00
one would assume that the telnetd executable had its permisions changed for a reason - if I were to hazard a guess I would say as a crude method of enforcing a security policy (e.g. no clear text passwords on the network and by implication no telnet) - someone may have taken the decision to just make telnetd non-executable rather than removing it from inetd.conf or blocking ports via firewalls etc...
So I suspect all you have done here is treat the symptons, rather than determine the root cause - your next task should be to determine *why* the permissions on telnetd were changed - thats not something you can figure out from the box - you'll need to ask all those with root access to this system...
HTH
Duncan
I am an HPE Employee