LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-04-2003, 02:16 PM   #1
johniccp
LQ Newbie
 
Registered: Nov 2003
Location: Broome County, NY
Distribution: SUSE 10 SP 2
Posts: 20

Rep: Reputation: 0
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.
 
Old 11-04-2003, 04:02 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Please consult http://www.markus-welsch.de/linux/services/ftp.html
 
Old 11-05-2003, 11:36 AM   #3
johniccp
LQ Newbie
 
Registered: Nov 2003
Location: Broome County, NY
Distribution: SUSE 10 SP 2
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 11-05-2003, 11:51 AM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
No problem, I'll be adding a FAQ part to it probably at a later time...
 
Old 11-06-2003, 10:26 AM   #5
mistwist
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Unhappy

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!
 
Old 11-06-2003, 03:57 PM   #6
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
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/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd not working pradsy90 Linux - Software 2 05-09-2008 09:19 AM
Can't get vsftpd working Kropotkin Linux - Networking 3 07-18-2005 02:23 PM
vsFTPd user's not working? paul_mat Linux - Networking 9 05-06-2005 01:00 AM
vsftpd not working remotely nmucats Linux - Networking 1 12-21-2004 08:56 PM
vsftpd umask not working k-bot Linux - Software 1 03-10-2004 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration