From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f9c565fd940a323 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-11-15 21:40:14 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!3d03892b!not-for-mail Message-ID: <3FB70DE4.10809@computron.com> From: Randy Styka User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: timeout an inactive login session References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 16 Nov 2003 05:40:13 GMT NNTP-Posting-Host: 65.37.185.205 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1068961213 65.37.185.205 (Sat, 15 Nov 2003 21:40:13 PST) NNTP-Posting-Date: Sat, 15 Nov 2003 21:40:13 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.unix.tru64:10938 taz wrote: > We are setting up enhanced security on a V4.0f system. One of the corporate > requirements is that any login session that has been idle for XX amount of > time needs to be automatically logged out. I have not been able to find > this capability in the documentation, but I have to believe that it is > there. How do we enforce this for ALL logins? With most shells, there is a variable that can be set that may help. In ksh, for instance, the variable TMOUT sets the number of minutes you can be idle before being logged off. It varies by shell. Note, however, that this ONLY works for users at a shell prompt, not in applications. If you want a general way of enforcing this for all interactive sessions, we wrote/sell a product called LOGMON. It is available for Tru64 as well as a lot of other Unix variants. This software monitors the cpu usage of each user, and their child processes, to make sure the user really is idle. This is important, as commands like "who -u" show you an idle time based on keyboard activity only. If you run a long cpu bound job, "who -u" will show you as idle, even while the job is running. But since we monitor cpu usage also, you would not be logged off. You can vary the inactivity time by user, time of day, etc. You can control how the user is logged off. For details, send a message to logmon@computron.com or visit www.logmon.com Thanks! Randy Styka, randy@computron.com, 630/941-7767