LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   vsftpd.user_list and userlist_enable not working. (https://www.linuxquestions.org/questions/linux-security-4/vsftpd-user_list-and-userlist_enable-not-working-112362/)

johniccp 11-04-2003 02:16 PM

vsftpd.user_list and userlist_enable not working.
 
O/S is Red Hat 9.

I'll allow ftp access to anyone on the same circuit breaker as I am, but no one else, not even anonymous.

To accomplish this, I've created a short list of users whom I'll allow ftp access. My vsftpd.conf file contains the following settings.

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES

------------------
Currently, with the vsftpd service running, the only user in the vsftpd.user_list is denied service. The error message occurs before the user can enter a password. The error message is "530 Permission denied. Login failed."

Thank you.

markus1982 11-04-2003 04:02 PM

Please consult http://www.markus-welsch.de/linux/services/ftp.html

johniccp 11-05-2003 11:36 AM

vsftpd now working as needed
 
Here's what worked in /etc/vsftpd/vsftpd.conf

userlist_deny=NO
userlist_file=/etc/vsftpd/vsftpd.user_list

Then, in the user_list, I added only those I trust (can reach) into the list.

Thanks for the help.

markus1982 11-05-2003 11:51 AM

No problem, I'll be adding a FAQ part to it probably at a later time...

mistwist 11-06-2003 10:26 AM

I'm REALLY new at this so please bare with me. I have tried everything in the forums I can find but still can't get an anonymous user to any other directory besides "pub".

I need to get to /var/www/html/ from my neighbors system to upload a couple graphics he did for me, I thought the easiest way to do that would be anonymous login, I guess I was wrong.....

Any help PLEASE!!

Mistwist
who cares if begging makes me sound desperate, I am desperate!

markus1982 11-06-2003 03:57 PM

well the easiest way is surely not with anon ftp. the easiest way is IMHO with 2 (virtual) users. you might want to check out my website for this: http://www.markus-welsch.de/linux/services/


All times are GMT -5. The time now is 05:23 PM.