


ftpshut(8)                                             ftpshut(8)


NNaammee
       ftpshut - close down the ftp servers at a given time

SSyynnttaaxx
       ffttppsshhuutt [ --ll min] [ --dd min] _t_i_m_e _[ _w_a_r_n_i_n_g_-_m_e_s_s_a_g_e _._._. _]

DDeessccrriippttiioonn
       The  command provides an automated shutdown procedure that
       a superuser can use to  notify  ftp  users  when  the  ftp
       server is shutting down.

       The  _t_i_m_e  is the time at which will bring the ftp servers
       down.  It may be the word `now', indicating  an  immediate
       shutdown,  or specify a future time in one of two formats:
       _+ _n_u_m_b_e_r or _H_H_M_M_.  The first form brings the  ftp  servers
       down in _n_u_m_b_e_r minutes.  The second brings the ftp servers
       down at the time of day indicated, using a  24-hour  clock
       format.

       Ten  minutes  before  shutdown, or immediately if is timed
       for less than ten minutes, new ftp  access  will  be  dis-
       abled.  This time may be adjusted through the -l flag.

       Five  minutes  before shutdown, or immediately if is timed
       for less than five minutes, all  current  ftp  connections
       will  be  disconnected.  This time may be adjusted through
       the -d flag.

       The _[ _w_a_r_n_i_n_g_-_m_e_s_s_a_g_e _._._. _] will be  formatted  to  be  75
       characters  wide.  knows about the actual string length of
       the magic cookies.

       The following magic cookies are available:
             %s      time system is going to shut down
             %r      time new connections will be denied
             %d      time current connections will be dropped
             %C      current working directory        %E      the
       maintainer's email address as defined in ftpaccess.
             %F      free space in partition of CWD (kbytes)
                     [not currently supported on all systems]
             %L      local host name
             %M       maximum  allowed  number  of  users in this
       class
             %N      current number of users in this class
             %R      remote host name
             %T      local time (form Thu Nov 15 17:12:42 1990)
             %U      username given at login time

RReessttrriiccttiioonnss
       You can kill the servers only between now  and  23:59,  if
       you use the absolute time for

SSeeee AAllssoo
       shutdown(1), ftpaccess(5)



                                                                1


