We first carried out between windows and virtual machines
First of all the same, to download vsftpd service in yum repository
yum install vsftpd
Next to boot: systemctl start vsftpd
2. Next we need to look at the contents of the configuration file, as shown below
I modified the above chart is carried out, remember to save and exit After modifying. And then restart it. systemctl restart vsftpd
3. Next we enter the instruction into the folder, the pop-up window, the amount of security, but we do not ascend into the back with the root user login Oh, so we are here to build a user, try to build a file in the user. Log into the discovery, if the file can not be modified one, change file permissions.
Enter the command: useradd liyingkun passwd longshisan configure the look password
We create a folder mkdir liyingkun in / home / liyingkun below
4. Why is it does not allow root logins (other users can log in normally)
(Vsftpd service program in order to ensure the security of the server and the default prohibit the root system administrators and most of the user's login behavior, which can effectively prevent hackers to brute force to root administrator password FTP service.)
Two in a virtual machine file storage of "user list", ftpusers and user_list, if you want to log in as root user, we need this operation, enter the following folders, the root commented on it.
The same operation, but also doing so in user_list, after which we look at the results, success!
Then discuss between virtual machines and virtual machines
Also on another virtual machine is also installed ftp
After you enter the command ftp 192.168.24.100 found inside, our demo users log in as root again
We can also view the file directory, and so on.