1828896 Members
2406 Online
109985 Solutions
New Discussion

ftp settting

 
SOLVED
Go to solution
hangyu
Regular Advisor

ftp settting

I want to control the user to access the RH linux ftp server , I have setup the /etc/vsftpd/vsftpd.conf , add the below line to the config file , and add the user to the file vsftpd.user_list , but now the user ( in the list of vsftpd.user_list ) still can't ftp login to the system , can advise what is the reason ? thx



pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES
userlist_deny=NO
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor
Solution

Re: ftp settting

I had the same problem until I entered the following line to /etc/vsftpd/vsftpd.conf:
userlist_file=/etc/vsftpd.user_list (although man mentions that this is the default)

the /etc/vsftpd.user_list file must exist and have entries of user allowed to login.
Restart the vsftpd service after any change.

hangyu
Regular Advisor

Re: ftp settting

thx

I have already update the vsftpd.user_list and restart the server but the user in the list still can't use ftp , could advise what is wrong ? thx
Vitaly Karasik_1
Honored Contributor

Re: ftp settting

any messages in the log?
can you send us whole vsftpd.conf?