126.96.36.199. Anonymous Access
The presence of the
/var/ftp/directory activates the anonymous account.
The easiest way to create this directory is to install the
vsftpdpackage. This package establishes a directory tree for anonymous users and configures the permissions on directories to read-only for anonymous users.
By default the anonymous user cannot write to any directories.
If enabling anonymous access to an FTP server, be aware of where sensitive data is stored.
188.8.131.52.1. Anonymous Upload
To allow anonymous users to upload files, it is recommended that a write-only directory be created within
To do this, type the following command:
Next, change the permissions so that anonymous users cannot view the contents of the directory:
chmod 730 /var/ftp/pub/upload
A long format listing of the directory should look like this:
drwx-wx--- 2 root ftp 4096 Feb 13 20:05 upload
Administrators who allow anonymous users to read and write in directories often find that their servers become a repository of stolen software.
vsftpd, add the following line to the