home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / tcpip / amitcp-support / wustl-ftpdaemon / doc / ftpshut.man < prev   
Encoding:
Text File  |  1994-06-29  |  2.2 KB  |  55 lines

  1.                                                                    ftpshut(8)
  2.  
  3.  
  4.  
  5.    Name
  6.      ftpshut - close down the ftp servers at a given time
  7.  
  8.    Syntax
  9.      ftpshut [ -l min] [ -d min] time [ warning-message ... ]
  10.  
  11.    Description
  12.      The ftpshut command provides an automated shutdown procedure that a
  13.      superuser can use to notify ftp users when the ftp server is shutting
  14.      down.
  15.  
  16.      The time is the time at which ftpshut will bring the ftp servers down.
  17.      It may be the word `now', indicating an immediate shutdown, or specify a
  18.      future time in one of two formats: + number or HHMM. The first form
  19.      brings the ftp servers down in number minutes.  The second brings the
  20.      ftp servers down at the time of day indicated, using a 24-hour clock
  21.      format.
  22.  
  23.      Ten minutes before shutdown, or immediately if ftpshut is timed for less
  24.      than ten minutes, new ftp access will be disabled.  This time may be
  25.      adjusted through the -l flag.
  26.  
  27.      Five minutes before shutdown, or immediately if ftpshut is timed for
  28.      less than five minutes, all current ftp connections will be discon-
  29.      nected.  This time may be adjusted through the -d flag.
  30.  
  31.      The [ warning-message ... ] will be formatted to be 75 characters wide.
  32.      ftpshut knows about the actual string length of the magic cookies.
  33.  
  34.      The following magic cookies are available:
  35.            %s      time system is going to shut down
  36.            %r      time new connections will be denied
  37.            %d      time current connections will be dropped
  38.            %C      current working directory
  39.            %E      the maintainer's email address as defined in ftpaccess.
  40.            %F      free space in partition of CWD (kbytes)
  41.                    [not currently supported on all systems]
  42.            %L      local host name
  43.            %M      maximum allowed number of users in this class
  44.            %N      current number of users in this class
  45.            %R      remote host name
  46.            %T      local time (form Thu Nov 15 17:12:42 1990)
  47.            %U      username given at login time
  48.  
  49.    Restrictions
  50.      You can kill the servers only between now and 23:59, if you use the
  51.      absolute time for ftpshut.
  52.  
  53.    See Also
  54.      shutdown(1), ftpaccess(5)
  55.