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