- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TMOUT
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
10-25-2001 12:46 AM
10-25-2001 12:46 AM
TMOUT
and is there a way to activate TMOUT while the user is running an application using
# exec program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:42 AM
10-25-2001 01:42 AM
Re: TMOUT
http://www.darkwing.com/idled
it logs out idle users and has loads of other neat functions like the ability to restrict login hours, etc.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:37 AM
10-25-2001 02:37 AM
Re: TMOUT
Add a timeout on the terminal, with getty -t.
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:49 AM
10-25-2001 02:49 AM
Re: TMOUT
Regarding the getty -t, getty exits if the open on the line succeeds and no one types anything within timeout seconds, i.e before loging. What I need is to logout telnet sessions, users already loged in but idled for a long time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:51 AM
10-25-2001 02:51 AM
Re: TMOUT
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:56 AM
10-25-2001 02:56 AM
Re: TMOUT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 09:59 PM
10-25-2001 09:59 PM
Re: TMOUT
It's critical
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 04:35 AM
10-26-2001 04:35 AM
Re: TMOUT
What you can probably do is to set up
a script which checks the users logged in
who |grep -v root |grep -v oracle (and so on)
Pick users who are logged in more than a day.
(a grep on the Month would be sufficient)
From this list, do a ps -u $userid on
each user. If it lists valid processes,
then skip the user, otherwise kill the
shell/login pid of the user.
Then, run this job through cron at periodic
intervals. I used this method in the past.
But, be sure about it, since you dont
want to knock of valid users .
HTH
raj