System Administration Commands ftprestart(1M)
NAME
ftprestart - restart previously shutdown FTP Servers
SYNOPSIS
ftprestart [-V]
DESCRIPTION
Use the ftprestart command to restart an FTP Server previ-
ously shut down by means of ftpshut(1M). The ftprestart com-
mand reads the shutdown capability from the ftpaccess(4) file to determine the path of the shutdown message files. Itthen reenables the FTP Server by removing any shutdown mes-
sage files in the anonymous and virtual FTP Server area, as well as the system wide shutdown message file. OPTIONSThe ftprestart command supports the following options:
-V Display program copyright and version information,
then terminate.EXAMPLES
Example 1 Sample Output from ftprestart
The following example shows sample output from the ftpres-
tart command:example% ftprestart
ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
ftprestart: /etc/ftpd/shutdown.msg removed.
EXIT STATUS The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES /etc/ftpd/ftpaccessSunOS 5.11 Last change: 1 May 2003 1
System Administration Commands ftprestart(1M)
/etc/ftpd/ftpserversATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | service/network/ftp ||_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)SunOS 5.11 Last change: 1 May 2003 2