- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: login session failes
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
тАО11-29-2008 03:14 AM
тАО11-29-2008 03:14 AM
If i am doing telnet to a particular HP host,my session get timed out before i type my user name & password.Whereas my other hosts are working fine.Can someone please guide me to troubleshoot the issue.Is there any parameter to be set for it so that the login session does not timed out for (say 60 seconds)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 04:38 AM
тАО11-29-2008 04:38 AM
Re: login session failes
What type of telnet client do you use to connect? command based or screen based?
Do you get a login prompt to type in the username and password?
Are there any error messages on the client side?
The timeout parameters are in the shell after you login or at the network if there is inactivity not at the telnet service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 05:15 AM
тАО11-29-2008 05:15 AM
Re: login session failes
I am doing a telnet form one HP box to another HP box through command promt only.I am getting the login promt once i m doing a telnet/ssh to that HP host.This new session will remain for 10-15 seconds only,& as a result i am not getting enough time to type my user name& passwd.So i want to increase that particular session time period.
Please let me know if you need any more information.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 06:34 AM
тАО11-29-2008 06:34 AM
Re: login session failes
telnet HPhost
login:abc123
Password:xxxxxx
...
What exactly happens at each step?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 06:42 AM
тАО11-29-2008 06:42 AM
Re: login session failes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 07:48 AM
тАО11-29-2008 07:48 AM
Re: login session failes
i m having three HP host. HostA,HostB,HostC.
From HostA i am doing a telnet to HostB & HostC.While doing a telnet to HostB i am getting the following message.
telnet HostB
login:123
passwd:XXX
........
HostB$
finally its coming to promt.After entering the login ID its wait for 60-70 seconds before i enter the password.
----------------------------------------------------------
Whereas while doing a telnet to HostC i am getting the following message..
telnet HostC
Password:
Login timed out
Wait for login exit: ..
Connection tho the HostC closed by foreign host.
Here i hardly get 8-9 seconds to provide my password after entering the login ID.And the session will show timed out.If i am entering the password within 8-9 seconds,i can able to successfully login.
So i want to increase the time span for this host also so that this will also wait for same 60-70 sec to enter the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 12:08 PM
тАО11-29-2008 12:08 PM
Re: login session failes
On another note the 60-70 delay in hostB is because hostB can not resolve the IP address of hostA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 05:30 PM
тАО11-29-2008 05:30 PM
Re: login session failes
check the following paramneters
1. Do telnet to the local machine try whether its connecting , as lookback test.
2. Check for the entry in /var/adm/inetd.sec
for any IP restriction.
3. Check for the port /etc/services whether opened for telnet.
Still If you face problem, plz revert back with exact errors.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2008 09:41 PM
тАО11-29-2008 09:41 PM
Re: login session failes
Wait for login exit: ..
Connection tho the HostC closed by foreign host.
<<<<<<<<<<<
so our target should be checking "HOST C"
suspection :-
1. we need check what shell to you have on the "HOST C"
(example:- if user account has "ftponly" or "nullshell" you will this kind of results.
2. Login as root to "HOST C"
# cd~
# more .profile
look for # set up the shell variables
TMOUT=xxx ..?
permision of the .profle should be
r-- -- -- owner
if its shared profile , should be secured as
-r-- r-- -- root
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 01:37 PM
тАО11-30-2008 01:37 PM
Re: login session failes
I think there is no problem with the user or the telnet.I can easily do the telnet the host,& its asking to enter the login ID/passwed too.No matter whether i am giving the login ID or not the session will timed out within 10 sec.But in other hosts it waits for 60 sec atleast before it shows timed out.Pls let me know if u need any more details.Check the mentioned output...
--------------------------------------------
HostA#telnet HostC
login:
Login timed out
Wait for login exit: ..
Connection closed by foreign host.
HostA#
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:49 PM
тАО11-30-2008 04:49 PM
Re: login session failes
TMOUT=xxx ..?
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:58 PM
тАО11-30-2008 04:58 PM
Re: login session failes
But, when i tried using the other IP address of the same machine, the time out is hot happening. Is it the
may be can some one guide me, thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 05:09 PM
тАО11-30-2008 05:09 PM
Re: login session failes
...If a login is not successfully completed within a certain period of time (for example, one minute), the terminal is silently disconnected. ...
I am not aware of the login program having a configurable timeout flag. It looks like it defaults to one minute. If you type "strings /usr/bin/login | grep timed" you will see the error message in the login binary.
The TMOUT variable applies to the shell only and the shell does not come into play yet during the login dialog.
Have you been able to successfully login to hostC if you type fast? And does it run normally after you login?
What is the OS version of hostC? And is it running in trusted mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 08:00 PM
тАО11-30-2008 08:00 PM
Re: login session failes
I also found that there is a file in Solaris called as /etc/default/login where we can set this login time out parameter.Pls check the attached file and let me know if we also can have similar kind of file in HP UX also.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 08:35 PM
тАО11-30-2008 08:35 PM
Re: login session failes
The output shows the timeout is not enabled (hashed),plz edit if it is not done.
In hp ux we have similiar settings, /etc/default/security file .
Go through that.
Revert back in case of errors.
Thanks,
Analyst.
(If the information is useful, kindly assign points).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 09:22 PM
тАО11-30-2008 09:22 PM
Re: login session failes
i have already checked it,and found the following entries are only there in /etc/default/security.Do we need to modify this?If so pls let me know what are the entries i need to make there to set the login timed out parameter.
HostC $ more security
PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
MIN_PASSWORD_LENGTH=7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 09:35 PM
тАО11-30-2008 09:35 PM
Re: login session failes
Below entries no-thing to do with login timed out parameter.,
below are credential for you passwd "settings" you are running "trusted" system,
would recommed to check with you
# cd /home/
check the TMOUT settings,
# /usr/lbin/getprpw -l
or please check "sys.log" will give you much information , if still not
we need check the user settings via, SAM ... Security settings
SAM->User&Group->Users-->
Set Authorized Login Times
>>>>>>>.i have already checked it,and found the following entries are only there in /etc/default/security.Do we need to modify this?If so pls let me know what are the entries i need to make there to set the login timed out parameter.
HostC $ more security
PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
MIN_PASSWORD_LENGTH=7 >>>>>
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 12:58 AM
тАО12-01-2008 12:58 AM
SolutionI find the web page for Solaris, TIMEOUT. And I find these threads for HP-UX:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=9628
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1006161
http://docs.hp.com/en/B2355-60130/telnetd.1M.html
>TTr: This looks like the timeout is coming from the login program and not from telnet nor the shell.
It is still possible telnetd is doing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 03:54 AM
тАО12-01-2008 03:54 AM
Re: login session failes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 05:48 AM
тАО12-01-2008 05:48 AM
Re: login session failes
> Password:
> Login timed out
>
> Wait for login exit: ..
I was able to reproduce the above error on my 11.00 trusted system. The controlling parameter is in the /tcb/files/auth/system/default file, towards the end "t_login_timeout#10:"
Change the #10 to a higher number or to #0 to completely disable it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 01:37 PM
тАО12-01-2008 01:37 PM
Re: login session failes
its really working. thanks for all of your support.
Thanks