- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logout or lock after a specific period of inactivi...
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
тАО02-18-2007 11:20 PM
тАО02-18-2007 11:20 PM
Logout or lock after a specific period of inactivity
I am using hummingbird's exceed client to connect to unix server.
I'm looking for a way to log out or lock a session after a specific period of inactivity.
Appreciate your help if someone can provide some clue.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 11:24 PM
тАО02-18-2007 11:24 PM
Re: Logout or lock after a specific period of inactivity
add the line:
TMOUT=1800 into your /etc/profile
and sessions will log out after 30 minutes of inactivity, if the user run /usr/bin/sh as shell.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have never awarded points ! 0 points for 17 answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 11:48 PM
тАО02-18-2007 11:48 PM
Re: Logout or lock after a specific period of inactivity
As Peter points out the OS has a facility TMOUT which will work for empty command lines.
If an appliacation is run and left running it will defeat this mechanism.
So it depends on what you are running. If hummingbird is used to connect to a database app, then the database app will need to time out users.
In agreement with Peter about the point thing. If you attend to this you will find you'll get more help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 12:36 AM
тАО02-19-2007 12:36 AM
Re: Logout or lock after a specific period of inactivity
I think this work only for telnet and SSH but doesn't work for a session CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 03:01 AM
тАО02-19-2007 03:01 AM
Re: Logout or lock after a specific period of inactivity
Correct. CDE is special way to talk to the OS and most users will ask it to take over their entire PC desktop. So if you want the CDE desktop to go away after a certain time, change the timeout options in the CDE desktop.
The TMOUT value only affects a normal shell. The window that CDE starts will bypass normal login code and fails to run all the profiles. TMOUT is only effective when the current shell reports that the value is set (ie, echo $TMOUT) and you do not touch the keyboard during the idle period. It has no effect on subprocesses like vi...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 03:28 AM
тАО02-19-2007 03:28 AM
Re: Logout or lock after a specific period of inactivity
dtsession*saverTimeout: 10
dtsession*lockTimeout: 10
dtsession*cycleTimeout: 3
dtsession*saverList: StartDtscreenBlank
but the sessions opened form PC using hummingbird's are not locked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 09:45 PM
тАО02-20-2007 09:45 PM
Re: Logout or lock after a specific period of inactivity
sorry to see my initial answer was not very helpful.
Here is the solution thread for CDE exceed:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1029068
For further exceed spcific questions, you could try:
http://www.hummingbird.com/exceedusers/index.html?cks=y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2007 08:06 PM
тАО02-21-2007 08:06 PM
Re: Logout or lock after a specific period of inactivity
This workaround works only if VARIABLE DISPLAY=