ftp虚拟用户实验报告
实验环境:一台CentOS7系统的服务器,一台客户机用作验证(windows、linux都可)
实验要求: 使用CentOS7搭建FTP服务器。
实验步骤:
服务端搭建
[root@localhost ~]# vim /etc/selinux/config
This file controls the state of SELinux on the system.
SELINUX= can take one of these three values:
enforcing - SELinux security policy is enforced.
permissive - SELinux prints warnings instead of enforcing.
disabled - No SELinux policy is loaded.
SELINUX=disabled
SELINUXTYPE= can take one of three two values:
targeted - Targeted processes are protected,
minimum - Modification of targeted policy. Only selected processes are protected.
mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@localhost ~]# reboot
[root@localhost ~]# getenforce
Disabled
[root@localhost ~]# yum -y install vsftpd ftp
[root@localhost ~]# cd /etc/vsftpd/<