Results 1 to 2 of 2

Thread: vsftpd 530 login error

  1. #1
    Join Date
    Aug 2009
    Beans
    79
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    vsftpd 530 login error

    Hello. I have a problem configuring vsftpd. Computer is not mine, but i have legitimate root access to it and have asked for permission to publish this forum thread.

    So.

    vsftpd config file(comments omitted)
    Code:
     
    listen=YES
    listen_ipv6=NO
    anonymous_enable=NO
    userlist_deny=NO
    userlist_enable=YES
    userlist_file=/etc/vsftpd/list.conf
    local_enable=YES
    write_enable=YES
    dirmessage_enable=YES
    use_localtime=YES
    xferlog_enable=YES
    log_ftp_protocol=YES
    connect_from_port_20=YES
    nopriv_user=moon
    ftpd_banner=Welcome to FTP service.
    secure_chroot_dir=/var/run/vsftpd/empty
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    ssl_enable=NO
    moon is a local user with possibility to login to the system.

    connection log



    Code:
    Tue Jun 19 12:11:36 2018 [pid 12331] CONNECT: Client "127.0.0.1"Tue Jun 19 12:11:36 2018 [pid 12331] FTP response: Client "127.0.0.1", "220 Welcome to FTP service."
    Tue Jun 19 12:11:40 2018 [pid 12331] FTP command: Client "127.0.0.1", "USER moon"
    Tue Jun 19 12:11:40 2018 [pid 12331] [moon] FTP response: Client "127.0.0.1", "331 Please specify the password."
    Tue Jun 19 12:11:45 2018 [pid 12331] [moon] FTP command: Client "127.0.0.1", "PASS <password>"
    Tue Jun 19 12:11:47 2018 [pid 12330] [moon] FAIL LOGIN: Client "127.0.0.1"
    Tue Jun 19 12:11:48 2018 [pid 12331] [moon] FTP response: Client "127.0.0.1", "530 Login incorrect."
    Tue Jun 19 12:11:48 2018 [pid 12331] FTP command: Client "127.0.0.1", "SYST"
    Tue Jun 19 12:11:48 2018 [pid 12331] FTP response: Client "127.0.0.1", "530 Please login with USER and PASS."
    Tue Jun 19 12:11:55 2018 [pid 12331] FTP command: Client "127.0.0.1", "QUIT"
    Tue Jun 19 12:11:55 2018 [pid 12331] FTP response: Client "127.0.0.1", "221 Goodbye."
    .. many identical tries  ommited
    chmod data for home directory seems to be correct
    Code:
    drwxr-xr-x 3 moon moon 4096 чер 19 12:02 share
    So my question what is wrong with this configuration ?
    Thank you for ideas.
    Last edited by Andreyshel; June 19th, 2018 at 04:55 PM. Reason: Solved by assigning login shell included in /etc/shells

  2. #2
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: vsftpd 530 login error

    EDIT: Nevermind....you did it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •