It depends on your configuration - see man vsftpd.conf. There are two major cases:
By default the anonymous log-in is not enabled. So you must log-in with a system user. For example if you are logging-in with user1 you will be redirected to its $HOME directory, that should be /home/user1/.
If you have enabled the anonymous log-in by the option directive anonymous_enable, you must specify also anon_root. For example, to enamle the minimal anonymous configuration:
It depends on your configuration - see man vsftpd.conf. There are two major cases:
By default the anonymous log-in is not enabled. So you must log-in with a system user. For example if you are logging-in with
user1
you will be redirected to its$HOME
directory, that should be/home/user1/
.If you have enabled the anonymous log-in by the option directive
anonymous_enable
, you must specify alsoanon_root
. For example, to enamle the minimal anonymous configuration:Add these two lines to
/etc/vsftpd.conf
:Create the directory and restart the service:
Note with this configuration the users are not permitted to upload files. This is more complicated task...