home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / hp / 14362 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.5 KB

  1. From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan)
  2. Date: Thu, 24 Dec 1992 18:02:29 GMT
  3. Subject: Re: Killing idle jobs
  4. Message-ID: <7371507@hpfcso.FC.HP.COM>
  5. Organization: Hewlett-Packard, Fort Collins, CO, USA
  6. Path: sparky!uunet!think.com!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!stroyan
  7. Newsgroups: comp.sys.hp
  8. References: <6610@pdxgate.UUCP>
  9. Lines: 30
  10.  
  11. In comp.sys.hp, marrevola@rediris.es writes:
  12.  
  13. > In article <Bzq4G9.28s@cup.hp.com>, pdg@cup.hp.com(Paul Gootherts) writes:
  14. > >>    If your users are using csh, set a default autologout=30, this
  15. > >>    way the system will log them out whenever they are idle for 30
  16. > >>    minutes (I found 30 to be a reasonable number for most "relaxed"
  17. > >>    sites, but you can set whatever you want).
  18. > > 
  19. > > Or, if they are using ksh, check the man page for the variable TMOUT.
  20. > Yes, but users change the value of TMOUT in their .profile to very big
  21. > value. How could I avoid this?
  22.  
  23. We are now crossing over to the realm of heavy handed system
  24. administration.  Somewhere near this point issues change from technical
  25. to political.  On the technical side of question, for ksh you can use
  26. typeset to change a variable to a read-only state.
  27.  
  28. Add the following lines to /etc/profile.
  29.  
  30. TMOUT=30
  31. typeset -rx TMOUT
  32.  
  33. This will make it more difficult for anyone to disable the timeout feature.
  34. It may also raise the question of timeouts to a political level, where you
  35. will need to convince users that the feature is good for them or not worth
  36. fighting about.
  37.  
  38. Mike Stroyan, mike_stroyan@fc.hp.com
  39.