- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Weird Telnet problem
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
Discussions
Discussions
Forums
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
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
тАО07-19-2005 04:59 PM
тАО07-19-2005 04:59 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 05:05 PM
тАО07-19-2005 05:05 PM
Re: Weird Telnet problem
WHat's the entry for telnet in /etc/inetd.conf look like?
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 05:05 PM
тАО07-19-2005 05:05 PM
Re: Weird Telnet problem
check /etc/securetty this file lists the tty sessions which are allowed for root login. by default these point only to tty1 to tty12 you may have to add /dev/pts/1, /dev/pts/2 entries in order to get it work
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 05:05 PM
тАО07-19-2005 05:05 PM
Re: Weird Telnet problem
if your system is trusted and you have exceeded your login retries, you may have to go to the console to unlock root account as well.
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 05:16 PM
тАО07-19-2005 05:16 PM
Re: Weird Telnet problem
Inetd.conf entry is this:
=================================
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd
================================
I tried searching for the /etc/securetty file on both servers but it is not existing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 05:26 PM
тАО07-19-2005 05:26 PM
Re: Weird Telnet problem
Also, for ssh and telnet are you using the same terminal emulator ? even if they are the same, are you sure their keyboard mapping profiles are the same for both telnet and ssh ? I have seen strange things happen when keyboard or terminal type set incorrectly. Better check early in the game than later.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 06:05 PM
тАО07-19-2005 06:05 PM
Re: Weird Telnet problem
I am using terminal type HP for both ssh and telnet but only ssh is working. I have checked the keyboard mapping and it is the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 06:46 PM
тАО07-19-2005 06:46 PM
Re: Weird Telnet problem
Probably unconnected, but I never trust the IPv6 implementation on 11.23, so I'd take it out of the equation by changing the line in /etc/inetd.conf. simply replace 'tcp6' with just 'tcp' and then run 'inetd -c' to reload the configuration.
I don't think this is the problem though, as I would expect it to effect other users as well as root.
You could also turn on inetd logging by running inetd -l. Then see if you get any useful messages in the syslog.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 07:29 PM
тАО07-19-2005 07:29 PM
Re: Weird Telnet problem
Turned on inetd logging and this is what I saw in syslog:
Jul 20 14:23:32 wbscsp02 sshd[12768]: Accepted keyboard-interactive/pam for root
from 10.10.21.164 port 3703 ssh2
Jul 20 14:24:12 wbscsp02 inetd[933]: Connection logging enabled
Jul 20 14:24:24 wbscsp02 inetd[12801]: registrar/tcp: Connection from wbscsp02 (
10.10.5.10) at Wed Jul 20 14:24:24 2005
Jul 20 14:24:43 wbscsp02 inetd[12802]: telnet/tcp: Connection from unknown (10.1
0.21.164) at Wed Jul 20 14:24:43 2005
Jul 20 14:25:03 wbscsp02 sshd[12804]: Accepted keyboard-interactive/pam for root
from 10.10.21.164 port 3725 ssh2
What do you make of this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 07:57 PM
тАО07-19-2005 07:57 PM
Re: Weird Telnet problem
- you telnet from another host and get a login prompt, enetr root and hit return, enter the password and it return... then what happens? does it just disconnect or do you get any message at all?
Lets make sure that telnetd isn't something it shouldn't be also... what's the output of 'what /usr/lbin/telnetd'
HTH
Duncan
I am an HPE Employee