1 AUTOLOGOUT
 AUTOLOGOUT is a daemon process that  automatically  disconnects
 an  interactive  job  tree that has been idle for too long from
 its terminal.  A job tree includes a main process  and  all  of
 its  subprocesses  and  is defined as interactive only if it is
 attached to a physical or network terminal.   Jobs  trees  that
 are  ignored include batch jobs, detached jobs and disconnected
 jobs.

 By default, AUTOLOGOUT tries to save  both  the  user  and  the
 system by attempting to disconnect the terminal first.  If that
 fails,  AUTOLOGOUT  will  delete  the  process  instead.    Two
 terminal  types  that  are  not  disconnectable  are RT devices
 (acquired via a SET HOST) and WT devices (acquired  by  logging
 onto  a  VAXstations main monitor).  The system manager may set
 AUTOLOGOUT up in such a way that it will simply delete the  job
 at the expiration of its idle limit.

 The main purpose in writing this daemon is  to  protect  user's
 data  and enhance system security by logging out jobs that have
 been left alone and unprotected.  Anyone who came  up  to  that
 terminal  would  have  full access to any data or programs that
 the user who left himself logged in would have access to.

 Because the Autologout daemon cannot ask the terminal if  there
 is  a user sitting in front of it, users may set their own idle
 time limits within the boundaries set up by the system  manager
 by  using IDLESET.  Users who often use terminals in a terminal
 room might want to set an  idle  time  close  to  the  minimum.
 Users  who  have  secure terminals and want to leave a terminal
 logged in all of the time or who might  have  several  sessions
 active  on  the  same  terminal at once might want to set their
 idle limits higher than the default.

 Autologout sends out status messages to all  terminals  enabled
 to receive OPER1 operator messages.

2 Authors
 The main program and most of the routines were written by Chris
 Yoder  of  Harvey  Mudd  College  (formerly  of Hughes Aircraft
 Company).  The kernel mode disconnect routine  was  written  by
 Forrest  A.  Kenney of digital and modified by Kevin Carosso of
 NRC (formerly of Hughes Aircraft Company).
1 IDLESET
      IDLESET [maximum-idle-time]

 IDLESET is a utility that allows a user to tell AUTOLOGOUT  how
 many minutes of idle time that process may acquire before it is
 automatically  disconnected  from  the  terminal.   The  system
 manager will set up upper, lower and default idle limits.

 The user is warned when half of the idle time limit has  passed
 and  one  minute prior to the idle time limit.  If the user has
 an idle time limit of greater than 10  minutes,  a  warning  is
 also sent 5 minutes prior to reaching that limit.

 NOTE:  All messages are sent on broadcast class USER7.  If  the
 user  issues  the  command SET BROADCAST=NOUSER7, these warning
 messages will not be delivered.
2 Parameter
 The number of minutes before AUTOLOGOUT considers a process  to
 be  idle  and  logs  it out.  If not specified, the system wide
 default will be used.  If a  value  smaller  than  the  minimum
 limit  and  higher  than 0 is specified, then the minimum limit
 will be used.  If a value higher  than  the  maximum  limit  is
 specified,  then the maximum limit will be used unless the user
 has the privilege EXQUOTA enabled for the current process.

 NOTE:  Minimum, maximum, and default values  are  specified  by
 the  system  manager  and  are  read only at the startup of the
 AUTOLOGOUT daemon.  The largest idle limit that AUTOLOGOUT will
 accept is the largest positive signed integer.
2 /CHECKLIMITS
 The /CHECKLIMITS qualifier queries the  AUTOLOGOUT  daemon  for
 the  system wide minimum and maximum idle limits as well as for
 the current idle limit for the current process.
2 /LOG
 The /LOG qualifier controls whether or not IDLESET  prints  out
 the information returned by AUTOLOGOUT.  The default is /LOG.
2 /SHUTDOWN
 The /SHUTDOWN  qualifier  tells  the  AUTOLOGOUT  daemon.   The
 AUTOLOGOUT daemon will only shutdown if the process that issues
 the request has with both the SYSPRV  and  SECURITY  privileges
 currently enabled.
2 Examples

      $ IDLESET 15
      Idle limit set to 15 minutes.

 This command will set the idle time of the current  job  to  15
 minutes.

      $ IDLESET 0
      Default used. Idle limit set to 20 minutes.

 The user specified 0, thus the default value (in this  case  20
 minutes) was used.

      $ IDLESET/CHECK
      Maximum Idle time limits:
      Minimum = 5 minutes,
      Current = 20 minutes,
      Maximum = 90 minutes.

 This command might have been issued directly after the previous
 IDLESET  command  to  check on the current state of the system.
 The minimum amount of time that a user might allow before being
 logged  out  is  5  minutes,  the maximum is 90 minutes and the
 user's current idle limit is 20 minutes.
2 Author
 This program was written by Chris Yoder of Harvey Mudd  College
 (formerly of Hughes Aircraft Company).
