Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kill idle users 1

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
I would like to kill idle users after a specified amount of time. I have found some utilities on the internet but none would compile on SCO. Anyone any suggestions?
 
do you have idleout available on your version? Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
How can inactive users be automatically logged out?

The "idleout" program has been included with SCO Unix versions since Xenix. It is a shell script, so you can easily modify it if it doesn't quite answer your needs.

There are some limitations to it, however, so you may want to use something else.

A better program is nidleout by John Dubois. That's a ksh script- it's complicated, though, and probably hard to modify unless you understand ksh scripts very well. However, it may do exactly what you want without modification. ftp://ftp.armory.com/pub/admin/nidleout

It's possible that just setting the TMOUT variable in ksh or bash may be enough for your needs; see the man pages for your shell.

Linux has "autolog", and a compiled OSR5 version (complete with man pages) is available from
There are also commercial solutions. Computronics Logmon is product that doesn't have the limitations of idleout and offers extensive configuration
.
Finally, I have a Perl script that has its own way of approaching the problem:
Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
And btw, the post I made above is in the FAQ for this forum but of course nobody ever looks there :) Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top