我想在 Red Hat 2.6.32-754.3.5.el6.x86_64 中安装 VSFTPD SERVER(类 Unix 系统的 FTP 服务器,包括 Linux)
所以我这样做了:
[root@teatre ~]# yum install vsftpd
Loaded plugins: package_upload, product-id, search-disabled-repos, security, subscription-manager
Setting up Install Process
guerrilla_Custom_custom | 1.8 kB 00:00
guerrilla_Icinga_EPEL_Icinga_EPEL_6 | 1.8 kB 00:00
guerrilla_Red_Hat_EPEL_Red_Hat_EPEL_6 | 2.5 kB 00:00
rhel-6-server-rpms | 2.0 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-24.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
vsftpd x86_64 2.2.2-24.el6 rhel-6-server-rpms 156 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package(s)
Total download size: 156 k
Installed size: 340 k
Is this ok [y/N]: y
Downloading Packages:
vsftpd-2.2.2-24.el6.x86_64.rpm | 156 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
2000:jdk1.8-1.8.0_162-fcs.x86_64 is a duplicate with 2000:jdk1.8-1.8.0_152-fcs.x86_64
2000:jdk1.8-1.8.0_172-fcs.x86_64 is a duplicate with 2000:jdk1.8-1.8.0_162-fcs.x86_64
2000:jdk1.8-1.8.0_181-fcs.x86_64 is a duplicate with 2000:jdk1.8-1.8.0_172-fcs.x86_64
2000:jdk1.8-1.8.0_191-fcs.x86_64 is a duplicate with 2000:jdk1.8-1.8.0_181-fcs.x86_64
Installing : vsftpd-2.2.2-24.el6.x86_64 1/1
Uploading Package Profile
Verifying : vsftpd-2.2.2-24.el6.x86_64 1/1
Installed:
vsftpd.x86_64 0:2.2.2-24.el6
Complete!
我现在想配置它,但我找不到该文件vsftpd.ftpusers
,任何地方
# find . -name vsftpd.ftpusers
#
答案1
出于不同的目的,您有两个包含用户的文件:
/etc/vsftpd/ftpusers
/etc/vsftpd/user_list
第一个是通用的,由 PAM 使用,第二个可以在主vsftpd
配置中配置