It is currently Thu, 20 Jan 2022 03:58:17 GMT



 
Author Message
 autologout/lock on tcsh ...

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



 Mon, 31 Mar 1997 06:35:38 GMT   
 autologout/lock on tcsh ...
:
: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



 Mon, 31 Mar 1997 11:49:45 GMT   
 
   [ 2 post ] 

Similar Threads

1. Pine won't let tcsh autologout

2. Turn off autologout on Tcsh?

3. TCSH Autologout question.

4. autologout in tcsh

5. Question about "autologout" in tcsh

6. tcsh - autologout problem

7. autologout in tcsh

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

9. tcsh - autologout question

10. Modem TX and RX status via Num Lock-Caps Lock-Scroll Lock


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software