The value YES indicates that the userlist mechanism is enabled. Userlist_enable: indicates whether to enable the userlist mechanism. Whether the file takes effect depends on the following parameters in the main configuration file nf: List of users who are allowed or not allowed to log in to the vsftpd server. Therefore, the system account cannot use vsftpd by default. By default, the system account is also in this file. List of users who are not allowed to use the vsftpd. Pluggable authentication modules (PAMs) are used for identity authentication and restrict some user operations. You can run the following command to view details about the nf file: The parameter and parameter value cannot be empty. The configuration format is Parameter=Parameter value. Main configuration file of the vsftpd process. You can run the man command to view more parameter meanings. You can modify the configuration files as required. Table 1 describes the vsftpd configuration files. You can modify the vsftpd configuration file to control user permissions. Restarting the vsftpd service # systemctl restart vsftpdĬonfiguring vsftpd vsftpd Configuration Files Stopping the vsftpd services # systemctl stop vsftpd If the netstat command does not exist, run the dnf install net-tools command to install the net-tools software and then run the netstat command. If the following information is displayed, the vsftpd service has been enabled. You can run the netstat command to check whether communication port 21 is enabled. Starting vsftpd services # systemctl start vsftpd To start, stop, or restart the vsftpd service, run the corresponding command as the root user. If the yum source has been configured, run the following command as the root user to install the vsftpd service: # dnf install vsftpd To use the vsftpd service, you need to install the vsftpd software. Generally, the system does not need to provide extra commands, which are secure for the system.
0 Comments
Leave a Reply. |