Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandsftprestart(1M)


NAME

 ftprestart - restart previously shutdown FTP Servers

SYNOPSIS

 ftprestart [-V]

DESCRIPTION

 

Use the ftprestart command to restart an FTP Server previously shut down by means of ftpshut(1M). The ftprestart command reads the shutdown capability from the ftpaccess(4) file to determine the path of the shutdown message files. It then reenables the FTP Server by removing any shutdown message files in the anonymous and virtual FTP Server area, as well as the system wide shutdown message file.

OPTIONS

 

The 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 ftprestart 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/ftpaccess
/etc/ftpd/ftpservers

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWftpu

SEE ALSO

 

ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)


SunOS 5.9Go To TopLast Changed 15 Oct 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.