Hi all...
Is there a way to autologout users after a certain amount of time?
Pete.
> Hi all...
> Is there a way to autologout users after a certain amount of time?
> Pete.
Set it in the /etc/profile file.
With some shells you can set the TIMEOUT variable to be read only.
--
http://ftp.opensysmon.com is a shell script archive site with an
open source system monitoring and network monitoring software package.
Many platforms are supplied already compiled.
>Is there a way to autologout users after a certain amount of time?
The old method to measure by keyboard activity does not
work any more . I am running Xwindows right now
and typing away and keyboard activity is not registred for my user
$ who-Hu
NAME LINE TIME IDLE PID COMMENTS
me console May 16 21:22 0:10 648 (:0)
$ who -Hu
NAME LINE TIME IDLE PID COMMENTS
me console May 16 21:22 0:10 648 (:0)
$ who -Hu
NAME LINE TIME IDLE PID COMMENTS
me console May 16 21:22 0:11 648 (:0)
$ who -Hu
NAME LINE TIME IDLE PID COMMENTS
me console May 16 21:22 0:14 648 (:0)
Neither would a logged in network connection that is running
http or pcnfs or samba
What we used to do 15 years ago was to send a kill -1 to the
users registred PID ( above ) if his idle time was greater than 15
minutes or any desired value.
--
========================================================
Lars Tunkrans
smtp: lars dot tunkrans at bredband dot net
--------------------------------------------------------
"idled" might be worth a try:Quote:Peter Lingmen wrote...
> Is there a way to autologout users after a certain amount of time?
http://www.darkwing.com/idled/
--
H.O.
-am ? 2003
1. Question about "autologout" in tcsh
Folks,
I don't subscribe to this group so please send any responses to my
I just installed BSDI 3.0 and noticed that I now get logged out of
my shell after 60 minutes of inactivity. This did not happen in BSDI
2.x. I know that the cause is that "autologout" is set to 60 minutes.
How do I set the autologout shell variable so that it never logs me
out but does automatically lock after x minutes. Here is some text
from the tcsh man page:
The first word is the number of minutes of inac-
tivity before automatic logout. The optional sec-
ond word is the number of minutes of inactivity
before automatic locking. When the shell automat-
ically logs out, it prints "auto-logout", sets the
variable logout to "automatic" and exits. When
the shell automatically locks, the user is
required to enter his password to continue work-
ing. Five incorrect attempts result in automatic
logout. Set to `60' (automatic logout after 60
minutes, and no locking) by default in login and
superuser shells.
What I am looking for is the line I would put in my .cshrc file.
Thanks in advance,
Scott Winders
2. driver for Compex RL100ATX 10/100 pci ethercard
3. Sun SHIELD ARM & autologout alternatives
6. Needed: termcap entry for wyse160
7. Autologout - idles program - detecting inactivity from a modem port
8. Printing from Unix to Windows NT 4.0