FTP can not go into how to do?

Source: Internet
Author: User
Tags ftp ftp login

  FTP old go not to solve the method one:

Depending on the log tip: related to SELinux security, you can view the status of the next selinux at this time:

[Root@linux vsftpd]# Getenforce

Enforcing

We can see that SELinux is a mandatory state and we are set to loose state:

[Root@linux vsftpd] #setenforce 0

At this time the user can log on properly! Problem solving!

FTP old enter not to solve two:

Our SELinux is still set to enforce state, run according to log prompts:

Sealert-l 6459724E-821F-4334-8B5C-1AC0D96EA5CB

There are 2 rows after the result:

grep Vsftpd/var/log/audit/audit.log | Audit2allow-m Mypol

Semodule-i mypol.pp

Run first Line first:

And then switch to the/etc/vsftpd/directory to run the second line:

Finally restart the VSFTPD service!

Test Access FTP Login normal!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.