autologout/lock on tcsh ...

autologout/lock on tcsh ...

Post by S » Fri, 14 Oct 1994 07:35:38



Hi,

BEfore the question, here is somthing from "man tcsh"
_____________________________________________________________________
9. AUTOMATIC LOGOUT/LOCKING
     The automatic locking and logout time are controlled by  the
     variable  autologout.  The  value  of  the first word is the
     number of minutes  of  inactivity  will  be  allowed  before
     automatically  logging the user out.  When that many minutes
     have been reached, the shell prints "auto-logout"  and  dies
     (without  executing  ~/.logout).  The default for tcsh is to
     set autologout for 60 minutes on login shells, and when  the
     user is root.  To disable autologout (for instance in a win-
     dow system), unset the shell variable autologout.

     The value of the optional second word indicates  the  number
     of  minutes  of  inactivity  after  which  the  user will be
     prompted for his login password to continue working. Failure
     to  enter  the  correct  password  5 times, results in auto-
     logout.
---------------------------------------------------------------------

Question: Now when I set autologout to a certain value say
          set autologout = 15, it logs me out after 15 min of idle time.
          How about the locking part ?? What is meant by the optional
          second word ?? No flames please .. if it is obvious.

Thanx
SD

 
 
 

autologout/lock on tcsh ...

Post by Equation M » Fri, 14 Oct 1994 12:49:45


:
:Hi,
:
:BEfore the question, here is somthing from "man tcsh"

We didn't really need to see the man again did we?

:
:Question: Now when I set autologout to a certain value say
:          set autologout = 15, it logs me out after 15 min of idle time.
:          How about the locking part ?? What is meant by the optional
:          second word ?? No flames please .. if it is obvious.
:
:Thanx
:SD

Words in a [t]csh variable are elments of the variable separated by white
space. To set a variable with multiple words, use the following:

set var=(word1 word2 word3)

Specifically:
set autologout=(60 10)
would log you out after an hour, prompting for password after 10 minutes.

Note to Tom Christiansen and followers: I just did this, and found it to be
Yet Another tcsh Feature That Works Exactly How It Is Supposed To. :-)
--
Alan |GE d? H s++:-- g+++ p? !au a-- v--- C+++ UB++ P-- L>+++ 3>+++ E--- N* K-
Curry|W+>! M-- !V -po+ Y+ t+(+++) 5++ j- R- G? tv++ b- D++>+++ B--- e+ u h f?
r--(---) y? n---- "You can't save everybody, just try not to be living next
                   door to them when they go off." --Dennis Miller

 
 
 

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. PPP problems

3. autologout in tcsh

4. Forward packets from one system to another

5. file name from file pointer?

6. TCSH Autologout question.

7. are asus reliable?

8. tcsh - autologout problem

9. Pine won't let tcsh autologout

10. tcsh : autologout[2] doesn't watch for shadowing

11. tcsh - autologout question

12. tcsh logs me out (NOT autologout); why?