# # (SCO Unix) How can inactive users be automatically logged out?
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SCO Unix, Xenix and ODT General FAQ

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.

Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

How can inactive users be automatically logged out of SCO Unix?

It's amazing who difficult this seemingly simple task can be. Determining whether someone is really inactive isn't easy.

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.

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 http://www.tkrh.demon.co.uk/files/.

There are also commercial solutions. Computronics Logmon is product that doesn't have the limitations of idleout and offers extensive configuration capability.

Finally, I have a Perl script that has its own way of approaching the problem: Piddle Script

If you found something useful today, please consider a small donation.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) How can inactive users be automatically logged out?

1 comment

Inexpensive and informative Apple related e-books:

Take Control of Upgrading to El Capitan

Take Control of Preview

Sierra: A Take Control Crash Course

Photos: A Take Control Crash Course

Take control of Apple TV, Second Edition

Mon Mar 30 15:10:43 2009: 5908   TonyLawrence

A Linuxy method: (link)

Never easy..


Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

If you think your users are idiots, only idiots will use it. (Linus Torvalds)

Linux posts

Troubleshooting posts

This post tagged:


Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode