Chapter 31. Setting up a FTP server with YaST

Contents

31.1. Starting the FTP server
31.2. FTP General Settings
31.3. FTP Performance Settings
31.4. Authentication
31.5. Expert Settings
31.6. For more information

Abstract

Using the YaST FTP Server module, you can configure your machine to function as a FTP server. Anonymous and/or authenticated users can connect to your machine and download and, depending on the configuration, upload files using the FTP protocol. YaST provides a unified configuration interface for various FTP server daemons installed on your system.

The YaST FTP Server configuration module can be used to configure two different FTP server daemons: vsftpd (Very Secure FTP Daemon) and pure-ftpd. Only installed servers can be configured. Standard openSUSE media does not contain the pure-ftpd package. However, if the pure-ftpd package is installed from another repository, it can be configured using the YaST module.

vsftpd and pure-ftpd have slightly different configuration options, especially in the Experts Settings dialog. This chapter describes the settings of the vsftpd for being the default server for openSUSE.

To configure the FTP server with run YaST and choose Network Services+FTP Server. If no FTP server is installed, you will be asked which server should be installed. Choose a server and confirm the dialog.

31.1. Starting the FTP server

In the Service Start frame of the Start-Up dialog you are able to set the way the FTP server is started up. You can choose between starting the server automatically during the system boot and starting it manually. If the FTP server should be started only after FTP connection request, choose Via xinetd.

The current status of the FTP server is shown in the Switch On and Off frame. Start the FTP server by pressing Start FTP Now. To stop the server, press Stop FTP Now. After having changed the settings of the server press Save Settings and Restart FTP Now. Your configurations will be saved by leaving the configuration module with Accept as well.

The Select Service frame of the FTP Start-Up dialog shows which FTP server is used. Either vsftpd (Very Secure FTP Daemon) or pure-ftpd can be used. If both servers are installed, you can choose between them. The pure-ftpd package is not included in the standard openSUSE media so you have to install it from a different installation source if you want to use it.

Figure 31.1. FTP Server Configuration — Start-Up

FTP Server Configuration — Start-Up