![]() $ useradd -c " FTP User" -d /var/ftp -r -s /sbin/nologin ftp Then we need to create a non-privileged system account to use it for anonymous FTP-type access. Open /etc/vsftpd/nf file, and change the following options with the corresponding values. You need to configure vsftpd to allow only anonymous users. This kind of FTP server is useful if your files should be available for users without any passwords or logins. Then type your local username and the password for that user, and you will see Login successful message. Since there is an option in the settings for allowing local users to access FTP server which is local_enable=YES, now let’s try to access the FTP server using a local user: $ ftp localhost Then type the username anonymous and with no password, just press enter.Īnd now, you can type any FTP command to interact with the FTP server. Now you can access your FTP server like this: $ ftp localhost You can install it if it’s not on your system: $ dnf -y install ftp ![]() Now you can try to connect to the FTP server using any FTP client. You can allow anonymous access to the FTP server from the configuration, in /etc/vsftpd/nf by enabling anonymous_enable=YES if it is not enabled and reload your service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |