Configuring anonymous FTP
To configure anonymous FTP using the FTP
Manager:
-
Select
FTP
Anonymous
Configure.
-
Enter the following information for the anonymous FTP account:
- Anonymous FTP home
-
The home directory for anonymous FTP access.
The default value is /home/ftp.
NOTE:
For preference, specify a home directory on a local filesystem.
If the FTP server system uses NFS to mount
the home filesystem from a remote file server,
it must have root access to this filesystem for
FTP to work correctly (see
exportfs(1Mnfs)).
Click on Suggest if you want the
FTP Server Manager
to suggest a value for the home directory.
Click on Select if you want to choose
a directory using a file browser.
- User ID
-
The user ID of the anonymous FTP account.
Click on Suggest if you want the
FTP Server Manager
to suggest a value for the user ID.
The default user ID is 300.
- Allow incoming transfers
-
Select this if you want to allow anonymous FTP users to be
able to put files in the ~ftp/pub/incoming directory
hierarchy in the anonymous FTP area. Deselect this
if you want the anonymous FTP account only
to allow read access to the ~ftp/pub directory hierarchy.
By default, incoming transfers are allowed.
NOTE:
If you allow incoming transfers, anonymous FTP users
are permitted to view the contents of the ~ftp/pub/incoming
directory by default.
If you want to prevent possible abusers from viewing the contents
of this directory, change its mode to 1733 using the
chmod(1)
command.
Alternatively,
you can prevent unauthorized access to the contents of uploaded files
by controlling their owner, group, and mode as described in
``Controlling access to directories''.
If the host being configured is an NIS client, creation of
the anonymous FTP user account will fail if ftp
is present in the passwd map for the NIS domain.
To create a local anonymous FTP user, stop NIS
using the command sh /etc/inid.d/nis stop, configure anonymous
FTP, and then restart NIS using the command
sh /etc/inid.d/nis start.
-
Click on OK to accept.
This procedure will set up the anonymous FTP account and
home directory hierarchy for the primary domain.
If you subsequently want to enable or disable incoming transfers,
follow the instructions given in
``Configuring FTP home directories''.
For information on setting up anonymous FTP access
to virtual domains and their home directories, see
``Configuring FTP virtual domains''
and
``Configuring FTP home directories''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999