zoukankan      html  css  js  c++  java
  • vsftpd 530 Login incorrect 解决

    vsftpd 530 Login incorrect 解决

    1, 检查/etc/vsftpd/vsftpd.conf配置

    pam_service_name=vsftpd
    userlist_enable=NO
    tcp_wrappers=yes
    chroot_local_user=yes
    local_root=/home/mysql_backup/
    userlist_deny=NO
    max_clients=20
    max_per_ip=2


    2.检查vim /etc/vsftpd/user_list

    # vsftpd userlist
    # If userlist_deny=NO, only allow users in this file
    # If userlist_deny=YES (default), never allow users in this file, and
    # do not even prompt for a password.
    # Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
    # for users that are denied.
    #root
    bin
    daemon
    adm
    lp
    sync
    shutdown
    halt
    mail
    news
    uucp
    operator
    games
    nobody
    btsjdown
    #tom

    3检查vim /etc/vsftpd/ftpusers

    # Users that are not allowed to login via ftp
    root
    bin
    daemon
    adm
    lp
    sync
    shutdown
    halt
    mail
    news
    uucp
    operator
    games
    nobody
    tom
    4.检查/etc/pam.d/vsftpd

    #%PAM-1.0
    session    optional     pam_keyinit.so    force revoke
    auth       required     pam_listfile.so item=user sense=allow file=/etc/vsftpd/ftpusers onerr=succeed
    auth       required     pam_shells.so
    auth       include      password-auth
    account    include      password-auth
    session    required     pam_loginuid.so
    session    include      password-auth
    得出结果/etc/vsftpd/ftpusers里的为可登陆账号

  • 相关阅读:
    spring mvc poi excel
    select onchange事件的使用
    eclipse下svn的分支与合并指南
    jquery_final
    ListView
    资源的使用
    Notification
    单选
    复选框
    调试
  • 原文地址:https://www.cnblogs.com/bky185392793/p/7860422.html
Copyright © 2011-2022 走看看