automatic logout

2007-12-25 7:16:00

My original request:

> Is there an easy way to set up automatic logouts or exits for inactive

> sessions. Specifically, I'd like any login or su session for root to

> be discontinued after X minutes of inactivity.

The most popular suggestion was the untamo daemon from j.cc.purdue.edu,

a configurable package which enables a lot of control over login sessions

and overall login time, not just idle time. This is a good package for

controlling limited terminal resources, such as a University public

facility.

The other big suggestion is to use tcsh and set autologout=X. This logs out

after X minutes of idle time. This is what I've decided to do for the

time being. Disadvantages include: 1) If I su to root and let the auto

logout happen, my terminal characteristics are alterred, specifically

echo is off; 2) If I su to root and then su to another id where autologout

is not set, then I don't get logged out.

(get tcsh from tesla.ee.cornell.edu, uunet.uu.net, and elsewhere)

"EAGLE::gareth%hermes.mod.uk"@relay.mod.uk (Gareth Richards) sent me a

program that one can run from .cshrc that does the auto logout. It too,

however, can't logout if you have su'ed to another id.

A few people suggested that one could set autologout in the csh that

comes with 4.1, but it didn't work for me.

Thanks for all the responses!

=========

William Jaynes, ITN, University of Michigan Medical Center, B1911 CFOB,

Ann Arbor, MI 48109-0704; (313) 747-2778 - William.Jaynes@med.umich.edu

Comments

Got something to say?

You must be logged in to post a comment.