- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- How to logout users if they are in the system inac...
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
тАО09-02-2004 08:17 AM
тАО09-02-2004 08:17 AM
How to logout users if they are in the system inactive
How to logout the user if they didn't used the system more than 15 minutes under tru64 Unix
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 08:53 PM
тАО09-02-2004 08:53 PM
Re: How to logout users if they are in the system inactive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 01:49 AM
тАО09-03-2004 01:49 AM
Re: How to logout users if they are in the system inactive
We are runing Tru64 V5.1B
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 07:09 AM
тАО09-03-2004 07:09 AM
Re: How to logout users if they are in the system inactive
Hello
Our Security department asking us (system Administrator Group) if a user login and his process is idle for more than 30 minutes
Systems has to recognize and kill that process
How can we do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 09:37 PM
тАО09-03-2004 09:37 PM
Re: How to logout users if they are in the system inactive
There is a script, I have tried for Linux over there for killing users whose idle is more than 30 minutes as,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=684656
Change that script for 15 to do your requirement easily.
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 06:46 PM
тАО09-05-2004 06:46 PM
Re: How to logout users if they are in the system inactive
TMOUT=240
export TMOUT
Inactive user will be logged out after 3 min.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 08:05 PM
тАО09-05-2004 08:05 PM
Re: How to logout users if they are in the system inactive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 12:58 AM
тАО09-07-2004 12:58 AM
Re: How to logout users if they are in the system inactive
Thank you to every one for helping me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 09:52 AM
тАО09-07-2004 09:52 AM
Re: How to logout users if they are in the system inactive
> TMOUT=240
> export TMOUT
This will only work for shells that use /etc/profile -- like bash, ksh, sh
If you use csh, tcsh then edit /etc/csh.cshrc to add:
set autologout = 15
HTH,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:25 AM
тАО09-08-2004 07:25 AM
Re: How to logout users if they are in the system inactive
Let's hope the environment variable is good enough for you super-administrators.
Of course any knowledgabel user can circumvent those right? (or is this implemented more cleverly then I think and can not be over-ruled?)
You may consider an additional hourly cron job to check for idle terminals
Something along the lines of....
w -h | cut -b 10-20,43-51 | awk 'BEGIN {q="\"";x=q}/day/{x=x $1 " "}/[0-9]:/{x=x $1 " "}END{x=x q; system ("ps -t " x)}'
Then 'kill' those pid's (with +) ?!?
fwiw,
Hein.