zoukankan      html  css  js  c++  java
  • 在启动vsftpd,有时会报错

    在启动vsftpd,有时会报错:
    C:>ftp 192.168.0.101
    Connected to 192.168.0.101.
    220 (vsFTPd 2.0.5)
    User (192.168.0.101:(none)): frank
    331 Please specify the password.
    Password:
    500 OOPS: cannot change directory:/home/frank
    Login failed.
    ftp> ls
    500 OOPS: child died
    Connection closed by remote host.

    解决方法是:
    setsebool ftpd_disable_trans 1
    setsebool ftp_home_dir=1
    service vsftpd restart


    在不熟悉SELnux前,把SELinux关掉也可以的。有时间研究下SELinux。
    在想用SELinux但是又不熟悉的情况下可以把SELinux设置成Permissive,表示SELinux规则启动,但只是把违规的记录到log中。

  • 相关阅读:
    mysql find_int_set
    PHPSTROM8.0 注册码(7.1也可用)
    gym 101657 D
    gym101657 C
    poj 3525
    poj1279
    poj3335
    poj 1228
    poj 1873
    poj 2074
  • 原文地址:https://www.cnblogs.com/skyofbitbit/p/3688090.html
Copyright © 2011-2022 走看看