|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Network Services Oracle Solaris 11 Express 11/10|
The ftpshut(1M) command closes down the FTP server at a particular time.
When you run ftpshut, a file is generated from command-line options that specify when shutdown occurs, the point at which new connections are refused, and when existing connections are dropped. Users are notified of a server shutdown based on this information. The location of the file that is created by ftpshut is specified by the shutdown directive in the ftpaccess file.
Follow the steps in this procedure to run ftpshut and to add the shutdown directive to the ftpaccess file.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
Keyword that is used to specify the path to a file that is checked regularly for whether the FTP server is scheduled to be shut down
Location of the file that was created by ftpshut command
ftpshut [ -V ] [ -l min] [ -d min] time [warning-message...]
Command that provides a procedure for notifying users that the FTP server is shutting down.
Option that is specified to display copyright and version information, then terminate
Flag that is used to adjust the time that new connections to the FTP server are denied
Flag that is used to adjust the time that existing connections to the FTP server are disconnected.
Shutdown time that is specified by the word now for immediate shutdown, or in one of two formats (+ number or HHMM) for a future shutdown
Shutdown notification message