Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I have installed a vsftpd server. my /etc/vsftpd.cong file is like below: userlist_deny=NO userlist_enable=YES userlist_file=/etc/vsftpd.user_list pam_service_name=vsftpd I have created a user ftpuser and this user exists in vsftpd.user_list file, ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4

    Need help with vsftpd

    Hi I have installed a vsftpd server.
    my /etc/vsftpd.cong file is like below:

    userlist_deny=NO
    userlist_enable=YES
    userlist_file=/etc/vsftpd.user_list
    pam_service_name=vsftpd

    I have created a user ftpuser and this user exists in vsftpd.user_list file, but whenever I log on using filezilla or ftp command I get this error
    Status: Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpuser
    Response: 331 Please specify the password.
    Command: PASS *******
    Response: 530 Login incorrect.
    Error: Critical error
    Error: Could not connect to server

    FYI : I have to start vsftpd using " service xinetd restart"

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    Does the service behave properly when started standalone (i.e. not in xinetd)? Are you sure the user's environment is set up properly? Can you shell in with the account? Can you connect via FTP on the server (via localhost)? Is there any further information about the error in the logs?
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4
    Does the service behave properly when started standalone (i.e. not in xinetd)
    A. I suppose yes, because if i enable anonymous user and login with default ftp/ftp user/pwd, I can login and download files, but cannot upload.

    there is no information in logs.

  4. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    yes, but anonymous connections are not really going to test your problem you are facing.

    you may also want to check and see if selinux is enabled or that you are using PAM. are the accounts actually created? what kind of shell are they assigned in /etc/passwd? do they have a password? test to be sure you can indeed authenticate with that user and password AND they have appropriate permission to connect to the folder your FTP server is pointing them too (if you are not using chroot or something).

    what exact benefit are getting from running vsftpd in xinetd when it can run as a standalone daemon? are you using different configs based upon hosts or some other complex setup?
    linux user # 503963

Posting Permissions

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