- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to configure?
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-22-2009 03:21 AM
тАО07-22-2009 03:21 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 03:31 AM
тАО07-22-2009 03:31 AM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1029720
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 03:32 AM
тАО07-22-2009 03:32 AM
Re: how to configure?
To set it for this session:
# export TMOUT=3000
To make the change permanent set it in your .profile file
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 03:37 AM
тАО07-22-2009 03:37 AM
Re: how to configure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 03:41 AM
тАО07-22-2009 03:41 AM
Re: how to configure?
Set that parameter in /etc/profile and in .profile which is in the /etc/skel directory.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 04:01 AM
тАО07-22-2009 04:01 AM
Re: how to configure?
sets the value, but the user can change it if he/she wishes. If you want to force this setting for all users, you may wish to also mark it read-only so it cannot be changed once set:
typeset -r TMOUT
Adding the TMOUT setting(s) listed above to /etc/profile makes it take effect in all sessions that use /usr/bin/sh or other Bourne-style shells.
If some of your users use csh (gack!) or tcsh shells, you must also edit /etc/csh.cshrc. It is the equivalent of /etc/profile for those shells. For csh-style shells, the syntax is different and the value must be in minutes:
set autologout=50
Unfortunately, it looks like csh has no way to mark the setting read-only, so users with a csh shell will always be able to disable the auto-logout if they wish (and know how).
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 06:55 AM
тАО07-22-2009 06:55 AM
Re: how to configure?
As Suggested above, Set Timeout parameter in /etc/profile ( .profile )
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 07:12 AM
тАО07-22-2009 07:12 AM
Re: how to configure?
If the user is in an application, or has vi'd a file, then the user will be seen as "busy" and the timeout will not have any impact.
If the user is in some sort of application, then this will have to be done from the application side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 07:20 PM
тАО07-22-2009 07:20 PM
Re: how to configure?
Add this three lines in /etc/profile
TMOUT=3000
readonly TMOUT
export TMOUT
It will work for all the users
as Patrick said it work fo application login i think..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 09:25 PM
тАО07-22-2009 09:25 PM