LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2007, 08:39 AM   #1
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Rep: Reputation: 15
Vsftpd help - Can't authenticate


I currently have an anonymous ftp server setup with Vsftpd. I'm using this for testing purposes only... After creating a user, how can I allow that user to have access to my ftp share? I've added the user to the ftp group but that still didn't work. How can I allow access to the share with a newly created user?

As an update, I have the username listed in vsftpd.user_list as well as userlist_enable=YES userlist_deny=NO in the conf file.

I also have local_enable=YES

A little more info... When opening up a command prompt and trying to ftp I can input any string that isn't a user and it then prompts for a password (which is normal here). However, when I actually key a real username in it says "Permission Denied". It knows that it is indeed a user and then denies permission. If I enter a string that isn't a user it asks for a password before denying access. This may be a problem with the user. I basically opened up the Add User GUI and created a username and added it to the ftp group. Should I do something else?
 
Old 02-22-2007, 10:04 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
If you have anonymous enabled still, and are trying to also have user lists, that will cause problems. Local enable is a good way to go, that is how I run my vsftpd. With these strings, I allow local users to log into their own home directories only, and chroot them there:

anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES

If you need to have anonymous enabled, then you need to disable the user list and such. How do you want to have this running?

Peace,
JimBass
 
Old 02-22-2007, 12:23 PM   #3
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
I have mine local enabled too.

If you do that route, do make sure to keep the users trapped in their user directory with the "chroot_local_user=YES". Else they will be able to view areas of the system you probably don't want them.
 
Old 02-23-2007, 09:06 AM   #4
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the info guys. I'm allowing anonymous uses access to one dir only and also enabling local users to their respective home dirs. I believe I'm good to go now. Thanks!
 
  


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 settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM
vsftpd to authenticate ftp user thethakuri Linux - Networking 4 01-31-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 AM.

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