WU-FTPD 2.4 Release Notes
14 WU-FTPD Release Notes for Version 2.4
New ftp Support Commands
(You will create the shutdown message file with the ftpshut
command in a later step.)
2. To enable the ftpaccess file, specify the -a option in the ftp entry of
the inetd configuration file (typically /etc/inetd.conf). For
example, ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a
NOTE: If the "shutdown <path>" entry is not specified in
ftpaccess file and you try to execute ftpshut command, then the
following error message will be displayed:
No shutdown file defined in ftpaccess file.
Execute the ftpshut command to create a shutdown message file
(with the path specified in the "shutdown" entry of ftpaccess file)
in the home directory of real, anonymous and virtual users. Note
that in guest users’ home directories the ftpshut command will not
create the shutdown message file; you must do it manually.
The shutdown message file indicates the time of a planned
shutdown and notifies users. This file can also specify that new
connections be denied after a specified time before shutdown and
that current connections be dropped at a specified time before
shutdown.
For details, see the ftpshut(1) manpage.
• ftprestart
The ftprestart command removes all the shutdown message files from
the real, anonymous, and virtual user accounts. These message files
are created by the ftpshut utility in the path specified by the
"shutdown" entry in the /etc/ftpd/ftpaccess file. For guest
user accounts the message files have to be removed manually.
The ftprestart command is always used after the ftpshut command is
executed.
For details, see the ftprestart(1) manpage.