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

NAME

6       ftpconfig - set up anonymous FTP
7

SYNOPSIS

9       ftpconfig [ftpdir]
10
11
12       ftpconfig -d ftpdir
13
14

DESCRIPTION

16       The  ftpconfig script is executed by the super user to set up anonymous
17       FTP. Anonymous FTP allows users to remotely log on to the FTP server by
18       specifying  the  user  name   ftp  or  anonymous  and  the user's email
19       address as password. The anonymous users  are  logged  on  to  the  FTP
20       Server  and  given  access  to a restricted file area with its own file
21       system root. See chroot(2). The FTP area has  its  own  minimal  system
22       files.
23
24
25       This  command will copy and set up all the components needed to operate
26       an anonymous FTP server, including creating the ftp user account,  cre‐
27       ating  device nodes, copying /usr/lib files, and copying timezone data.
28       The passwd and group files set up have been stripped  down  to  prevent
29       malicious  users from finding login names on the server.  The anonymous
30       file area will be placed under ftpdir. If the ftp user account  already
31       exists,  then  the current FTP area is used, and the system files in it
32       are updated. All other files are left untouched. This command should be
33       run  to update the anonymous FTP area's configuration whenever a system
34       patch is installed, or the system is upgraded.
35

OPTIONS

37       -d     Create a new or update an existing ftpdir  without  creating  or
38              updating  the  ftp  user  account. Use this option when creating
39              guest FTP user accounts.
40
41

OPERANDS

43       The following operands are supported:
44
45       ftpdir    The absolute pathname of the directory under which the anony‐
46                 mous FTP area is set up.
47
48

EXIT STATUS

50       The following exit values are returned:
51
52       0     Successful completion
53
54
55       1     Improper usage of the command
56
57
58       2     Command failed
59
60

ATTRIBUTES

62       See attributes(5)  for descriptions of the following attributes:
63
64
65
66
67       ┌─────────────────────────────┬─────────────────────────────┐
68       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
69       ├─────────────────────────────┼─────────────────────────────┤
70       │Availability                 │SUNWftpu                     │
71       ├─────────────────────────────┼─────────────────────────────┤
72       │Interface Stability          │Evolving                     │
73       └─────────────────────────────┴─────────────────────────────┘
74

SEE ALSO

76       ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5)
77
78
79
80SunOS 5.11                        1 May 2003                     ftpconfig(1M)
Impressum