- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- not login by using telnet
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
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
тАО03-10-2010 01:23 AM
тАО03-10-2010 01:23 AM
For one of my server i was unable to login by using telnet session as even though i have given right userid and password also. There is no problem when i supplied the same userid and password by using ssh protocol.
May i know what will the problem?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:27 AM
тАО03-10-2010 01:27 AM
Re: not login by using telnet
> There is no problem when i supplied the same userid and password by using ssh protocol.
Then just forget about telnet protocol! ssh is safer, and telnet should be disabled as it send passwords in clear over the network.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:33 AM
тАО03-10-2010 01:33 AM
Re: not login by using telnet
you can also check by checking on the
/etc/inetd.conf
/etc/services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:39 AM
тАО03-10-2010 01:39 AM
Re: not login by using telnet
We have checked the /etc/inetd.conf file and we specifically not disabled this service as this is needed for our operation.
Please find the telnet service in /etc/inetd.conf file:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
The banner is working but when i supplied my authentication it displayed the message like login failed.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:42 AM
тАО03-10-2010 01:42 AM
Re: not login by using telnet
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 01:57 AM
тАО03-10-2010 01:57 AM
Re: not login by using telnet
Telnet from the local server is working? (I mean ssh to the server then telnet localhost is working?)
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 05:11 AM
тАО03-10-2010 05:11 AM
Re: not login by using telnet
Here is one cause :
Dear the problem may occur when u use the symbols like $,@ ,тИз # . If u have used these symbols in your passwd your system may not allow you to login through telnet .
The SSH will be working with the same passwords.
We had the same problem too . So please try to avoid the use of these ,
We had a same problem too . I was not aware what to do exactly , but suggested not to use these letters .
Dear Expertise , Could some one tell me why this occurs when we use these symbols .
Raj..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 07:57 AM
тАО03-10-2010 07:57 AM
SolutionOn a printing terminal, erasing a previous character is difficult and slow to do. Therefore, the standard convention was that the "#" character meant "disregard previous character", and "@" meant "disregard the entire line and start over". For example, if a terminal printout line read:
login: mike####sam
it meant the user had first typed "mike", then erased it and typed "sam" instead.
If the other special character was used, it might have looked like this:
login: mike@
sam
The support for these functions was built into the TTY driver. The default settings for the TTY driver were standardized in "System V Interface Definition, Third Edition" (SVID3).
Even though printer terminals can now be found in museums only, the default values of the HP-UX TTY driver have not been changed. The defaults are even documented: see "man 7 termio" on a HP-UX system, and find the sub-title "Special Characters".
These same defaults are used with "pseudo-TTYs" or pty devices, which are used to emulate the interface of a real terminal when using a telnet or SSH connection... unless the telnetd or sshd daemon configures the pty device differently.
The above-mentioned two characters "#" and "@" usually cause the most trouble when logging in.
But when logging in from a console, modem line or any other serial-connected terminal, there is yet another set of special characters to consider.
"getty" is the process that monitors a serial-connected terminal and produces the login prompt. On HP-UX, the man page for getty includes this:
-----
getty also understands the ``standard'' ESS2 protocols for erasing, killing and aborting a line, and terminating a line. If getty sees the ESS erase character, _, or kill character, $, or abort character, &, or the ESS line terminators, / or !, it arranges for this set of characters to be used for these functions.
-----
Most users aren't aware of this functionality, because after the user has been authenticated, the standard login scripts will reconfigure the TTY special characters to values more suitable with less-ancient hardware.
SSH was developed in the 1990s when the network connections were already the norm. Because sshd "knows" the client-side is reasonably modern, OpenSSH initializes the pseudo-TTY with a more modern set of default values, so the characters like "#" and "@" won't be an issue with it.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 04:47 PM
тАО03-10-2010 04:47 PM
Re: not login by using telnet
I have used only 1 capital letter and numbers in the password. There is no special character.
The same password i am using for other hosts and they are logging fine via telnet only the problem with one host.
Can anyone suggest me what will be the problem?
I have checked the inetd.conf, inetd.sec file and confirmed that the telnet service is not disabled.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 05:02 PM
тАО03-10-2010 05:02 PM
Re: not login by using telnet
I have used a test user to login via telnet and given the same password to login which i am using for my account and it was working fine for the test user.
May i know why login problem only for my account?
Please find the telnet login messages when loging using my account.
login:
Password:
Last successful login for SN95599: Thu Mar 11 08:42:32 SST-8 2010 on pts/ta
Last unsuccessful login for SN95599: Wed Mar 10 16:57:05 SST-8 2010 on pts/ta
Exceeds number of logins allowed (3) for user SN95599
Wait for login exit: ..
Connection to host lost.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 05:45 PM
тАО03-10-2010 05:45 PM
Re: not login by using telnet
This appears to be the problem. It thinks you are already logged in 3 times and that is the limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 06:09 PM
тАО03-10-2010 06:09 PM
Re: not login by using telnet
How can we resolve this?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 07:03 PM
тАО03-10-2010 07:03 PM
Re: not login by using telnet
Log out of some sessions, perhaps.
I believe there is a setting in /etc/default/security that can control the number of logins you are allowed. You may want to check that file as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 07:38 PM
тАО03-10-2010 07:38 PM
Re: not login by using telnet
Check below under the security file)
parameter (NUMBER_OF_LOGINS_ALLOWED=0)in /etc/default/security
>>How can we resolve this?<<
by increasing LOGINS_ ALLOWED counts,
hope it may be "Audit Security" concern, :)
Are you supporting for any "Gov..?? Projects" usually we have these kind of settings , while handling Government Project :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 08:11 PM
тАО03-10-2010 08:11 PM
Re: not login by using telnet
if ur system is trusted
then try out with
/usr/lbin/modprpw -k username
change the values in /etc/default/security.but that depends on ur setup.
if not trusted passwd -d username
if u had settings as not to accept null passwd
then use passwd -f username. u can use the -f option both in trusted & untrusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 08:43 PM
тАО03-10-2010 08:43 PM
Re: not login by using telnet
May i know, is that i didn't exit the telnet session's properly previously? or else i tried morethan 3 times to logon?
Don't have problem when using the ssh session.
When i changed this parameter value to 0 then i am able to logon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 08:51 PM
тАО03-10-2010 08:51 PM
Re: not login by using telnet
Yes, that is entirely possible.
If you do a 'who' does your username show up more than once? If so, the system still things you are logged in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 09:04 PM
тАО03-10-2010 09:04 PM
Re: not login by using telnet
Thanks a lot..
Raj..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 10:23 PM
тАО03-10-2010 10:23 PM
Re: not login by using telnet
>Exceeds number of logins allowed (3) for user SN95599
Most of the users say "This is not working." And ask for help like this:
"Why it is not working?"
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 12:44 AM
тАО03-11-2010 12:44 AM
Re: not login by using telnet
Many thanks to all reponding to my thread.