- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Timed out sessions in HP-UX
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
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
06-30-2004 08:45 PM
06-30-2004 08:45 PM
Regards,
Srichandan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 09:22 PM
06-30-2004 09:22 PM
Re: Timed out sessions in HP-UX
Set it with
"export TMOUT=30" for a 30 second timeout period.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 09:25 PM
06-30-2004 09:25 PM
Re: Timed out sessions in HP-UX
Set the TMOUT variable either in /etc/profile ( if you want it for all users) or in .profile file for that particular user in his Home Directory.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 09:28 PM
06-30-2004 09:28 PM
Re: Timed out sessions in HP-UX
Take a look at the TMOUT environment setting. you could add this to a $HOME/.profile
# TMOUT=seconds;export TMOUT
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 09:57 PM
06-30-2004 09:57 PM
Re: Timed out sessions in HP-UX
Can you please guide me.
Regards,
Srichandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:16 PM
06-30-2004 10:16 PM
Re: Timed out sessions in HP-UX
What did you do exactly. Let us know whether you have added TMOUT variable and exported it? if so where.
Actually it should work...something wrong with the procedure followed.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:22 PM
06-30-2004 10:22 PM
Re: Timed out sessions in HP-UX
I have added (TMOUT=900;export TMOUT) this line in $HOME/.profile file. As per this after 15 minutes user session will be closed. Can you please let me know how to do that.
Regards,
Srichandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:23 PM
06-30-2004 10:23 PM
Re: Timed out sessions in HP-UX
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:45 PM
06-30-2004 10:45 PM
Re: Timed out sessions in HP-UX
man leave
could be of help to you
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:59 PM
06-30-2004 10:59 PM
Re: Timed out sessions in HP-UX
which shell are you using?
ksh
csh
sh
....
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 11:01 PM
06-30-2004 11:01 PM
Re: Timed out sessions in HP-UX
Ask that user to login. Then just minimize that windows and sit idle for 15 min. Do not do any activity in that session. Monitor this from other session may be you log in as root from somewhere else.
# w
this will show the session that user logged in. Now as soon as the User logs in check the Idle field in above output for that user. As soon as it reaches 15 min. it will get timeouted.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 11:47 PM
06-30-2004 11:47 PM
Re: Timed out sessions in HP-UX
Thanks a lot.. its working fine.
Regards,
Srichandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 02:31 AM
07-13-2004 02:31 AM
Re: Timed out sessions in HP-UX
So this is based on the honor system and obscurity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 02:42 AM
07-13-2004 02:42 AM
Re: Timed out sessions in HP-UX
I run it every 5 minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 02:59 AM
07-13-2004 02:59 AM
Re: Timed out sessions in HP-UX
Remove line # 76 (unless($uname eq "asmith"...) as it is only used for testing.