1ftprestart(1M)          System Administration Commands          ftprestart(1M)
2
3
4

NAME

6       ftprestart - restart previously shutdown FTP Servers
7

SYNOPSIS

9       ftprestart [-V]
10
11

DESCRIPTION

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

OPTIONS

21       The ftprestart command supports the following options:
22
23       -V    Display program copyright and version  information,  then  termi‐
24             nate.
25
26

EXAMPLES

28       Example 1 Sample Output from ftprestart
29
30
31       The following example shows sample output from the ftprestart command:
32
33
34         example% ftprestart
35         ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
36         ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
37         ftprestart: /etc/ftpd/shutdown.msg removed.
38
39
40

EXIT STATUS

42       The following exit values are returned:
43
44       0     Successful completion.
45
46
47       >0    An error occurred.
48
49

FILES

51       /etc/ftpd/ftpaccess
52
53
54       /etc/ftpd/ftpservers
55
56

ATTRIBUTES

58       See attributes(5) for descriptions of the following attributes:
59
60
61
62
63       ┌─────────────────────────────┬─────────────────────────────┐
64       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
65       ├─────────────────────────────┼─────────────────────────────┤
66       │Availability                 │SUNWftpu                     │
67       ├─────────────────────────────┼─────────────────────────────┤
68       │Interface Stability          │External                     │
69       └─────────────────────────────┴─────────────────────────────┘
70

SEE ALSO

72       ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)
73
74
75
76SunOS 5.11                        1 May 2003                    ftprestart(1M)
Impressum