Cancel
Start searching
This search is based on elasticsearch and can look through several thousand pages in miliseconds.
Learn more!!! We strongly recommend using SFTP instead of FTP. No configuration changes are necessary for SFTP, as this protocol works via SSH and the key that has already been stored !!!
The following line must be added to the /etc/rc.conf file:
inetd_enable="YES"
Next, you must enable FTP in the inetd configuration file. To do this, edit the following lines in /etc/inetd.conf:
Vorher:
#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
#ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
Nachher:
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll
ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll
Now you can start inetd:
sudo service inetd start
Finally, you can now create a user who must have a password to access the server via FTP.
sudo adduser <username>
To be able to access data outside the home directory, the user must also be added to the appropriate group of the respective owner in the /etc/groups file.