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, ...
- 12-14-2011 #1Just 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"
- 12-14-2011 #2
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
- 12-16-2011 #3Just 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.
- 12-16-2011 #4
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


Reply With Quote