Linux VSFTPD cannot log on cannot change directory:xxx priv_sock_get_cmd issue

Source: Internet
Author: User

Local users cannot switch on problems when configuring VSFTPD. The problem is as follows:

 c:\users\kai>ftp  ftp  > Open Span style= "COLOR: #800080" >172.24 . 144.10   connect to  172.24 . 144.10   220  (vsFTPd 2.2 . 2  ) User ( 172.24 . 144.10  :(None): Fftp  331   Please specify the password. Password:  500  oops:cannot change Directory:/home/fftp  500   Oops:priv_sock_get_cmd remote host closes the connection. 

The solution is as follows:
View SELinux settings for FTP

grep FTP  ------  -- -offtftp_use_nfs– > off 

Change Allow_ftpd_full_access to On

[Email protected] vsftpd]# setsebool-p  allow_ftpd_full_access on

-P is still in effect after restarting the computer, viewing the modified condition

 [[email protected] vsftpd]# getsebool-a | grep  ftp  allow_ftpd_anon_write --> offallow_ftpd_full _access --> onallow_ftpd_use_cifs --  Offallow_ftpd_use_nfs --> Offftp_home_dir --> offftpd_connect_db --> offftpd_ Use_fusefs --> Offftpd_use_passive_mode --  offhttpd_enable_ftp_server --> Offtftp_anon_ Write --> offtftp_use_cifs --> Offtftp_use_nfs --off 
[[Email protected] vsftpd]# service vsftpd restart off vsftpd:                                              [OK] for vsftpd start vsftpd:                                    [OK][[email protected] Vsftp d]#

Test FTP Login

FTP 172.24. 144.10  172.24. 144.10 .  2.2. 2 ) User (172.24. 144.10 :(None)): Fftp331 Please specify the password. Password: Login successful.
Problem solving.

Linux VSFTPD cannot log on cannot change directory:xxx priv_sock_get_cmd issue

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.