

This will make local users jailed by default. The chroot_list_file variable specifies the file which contains users that are jailed.įor a more restricted environment, specify the line: To enable this, add the following lines to /etc/nf: # Directory to be used for an anonymous loginĪnon_root=/example/directory/ Chroot jailĪ chroot environment that prevents the user from leaving its home directory can be set up. # Maximum transfer rate for an anonymous client in Bytes/second
UBUNTU SIMPLE FTP SERVER PASSWORD
etc/nf # No password is required for an anonymous login

the following options (see nf(5) for more): # Uncomment this if you want the anonymous FTP user to be able to create # obviously need to create a directory writable by the FTP user. # has an effect if the above global write enable is activated. # Uncomment this to allow the anonymous FTP user to upload files. # Allow anonymous FTP? (Beware - allowed by default if you comment this out). By default, anonymous logins are enabled for download only from /srv/ftp: These lines controls whether anonymous users can login. One must set the line local_enable in /etc/nf to YES in order to allow users in /etc/passwd to login: The WRITE_ENABLE flag must be set to YES in /etc/nf in order to allow changes to the filesystem, such as uploading: Better to configure firewall rules to limit access. libwrap/tcp-wrappers is not dependency of vsftpd and not installed by default. Reason: I believe this information is deprecated.
