LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2005, 09:16 PM   #1
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Rep: Reputation: 30
vsftpd --> BUG


I am using vsftpd 2.0.3. I have installed it, and using the default configuration file, it works. Anonymous only.

When i change vsftpd.conf and disable anonymous and enable local_enable=YES, I can only log in as root. All other users return 530: bad login.

Has anybody else had this problem??

If somebody is using it, could you please post your working vsftpd.conf file AND please explain to me wheather or not you have any other files relating to the users and their passwords as well as access rights.

I am using slackware as the server.

Is it in fact a bug or is it just me??

Thanks

PS: i have been trying with the previous version as well, it wouldn't work.

Last edited by wwnexc; 09-04-2005 at 09:18 PM.
 
Old 09-04-2005, 09:45 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

There are two other files apart from vsftpd.conf you should look at.

The 'ftpusers' file contains a list of users not allowed to log in.
If userlist_enable=YES and userlist_deny=NO in vstfpd.conf, then the 'user_list' file should contain a list of users who are allowed to log in.
If userlist_enable=YES and userlist_deny=YES in vstfpd.conf, then the 'user_list' file should contain a list of users who are not allowed to log in.

Have a look at the vsftpd FAQ:
ftp://vsftpd.beasts.org/users/cevans...ftpd-2.0.3/FAQ

I'd be wary of claiming you've found bugs, especially in code as well audited as vsftpd's.
http://www.catb.org/~esr/faqs/smart-...html#id3001405

Dave

Last edited by ilikejam; 09-04-2005 at 09:53 PM.
 
Old 09-04-2005, 10:53 PM   #3
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Original Poster
Rep: Reputation: 30
OK, I changed my vsftpd.conf to:

anonymous_enable=NO
local_enable=YES
connect_from_port_20=YES
userlist_enable=YES
userlist_deny=NO

And i created a file called vsftpd.user_list which contains all usernames. This should mean that everybody is able to log on. It still won't work: 530 login incorrect. The password and username combinations are correct, because i can log in to the terminal (bash) with those users.

So far, i have found no answer to my problem.
 
Old 09-04-2005, 11:04 PM   #4
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Original Poster
Rep: Reputation: 30
Thumbs up

Thanks, ilikejam!!

I found my mistake: I am not using RedHat or similar, it's slackware and it doesn't "do" PAM.

This little addition to my config file "check_shell=NO" solved the problem...

Oh, about the bug found in the topic, I didn't really believe in it myself, but I was confident that i would get more pros and geeks to take a look at this ;-)!!

Thanks for the fast help!!
 
Old 09-04-2005, 11:05 PM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Cool. Yeah, PAM (or the lack thereof) can cause headaches all round.

Glad it's working.

Dave

Last edited by ilikejam; 09-04-2005 at 11:07 PM.
 
Old 02-01-2006, 02:11 PM   #6
bluemercury
LQ Newbie
 
Registered: Feb 2006
Location: Earth for Now
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
just wanted to say thanx addning "check_shell=NO" to the config solved it for me aswell
 
  


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, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM
Free86 bug or nVidia bug?? ProtoformX Linux - Software 2 05-12-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 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