Click to See Complete Forum and Search --> : VSFTPD - FC2 - Virtual Users Trouble


Emzer
11-10-2004, 02:46 PM
I got some problems getting VSFTPD 2.0.1 working with virtual users... This is the case!

Background info:

I have had vsftpd version 1.2.1 install since I recently installed FC 2.
Now i started to configure the files and set it up for virtual users... which after an install of Berkley db 4.2 worked too... (before that I couldnt make the the db file needed). Even this little install made some struggling, cause it installed it self to /usr/local/... instead of just to /usr/... altho it worked after some fixing. So I made the db file and voila... everything worked!

Well now I found out that there is a newer version 2.0.1, so I downloaded it, did as the read me said. And installed it. First problem was it didnt start the new install with "service vsftpd start", it started the old one. But when i went to the sbin folder and started it from there it worked. So version 2.0.1 started instead... great I thought... I also reinstalled Berkley, because it was very disturbing I had to call the command with /usr/BerkleyDB-4.2/sbin/db_load instead of a simple db_load which it would of been if it had been installed to the correct folder. Anyhow i reinstalled it and now it was in the correct folder and no /usr/local crap...

Even the VSFTPD server was placed in wrong dirs by the install, so I decided to reinstall it too, and manually copy the folders needed to the correct dirs (as stated you easily could do in the install info) well said and done. Now I start the correct server trough service vsftpd start. Great!! It works now!

The Issue:

Well now the config stuff dont seem to work. I checked the config about one billion times and even used all the default configs and stuff form EXAMPLE/VIRTUAL_USERS/
still dont work, and the thing that doesnt work is this:

When connecting to my ftp none of the username / passwords written in the db file which pam checks works... I just get login denied. The second thing (think both these are connected to each other) is that I can still login with a local user, even tho its stated in the info about VSFTPD that this ISNT and SHOULDNT be possible when using
guest_enable=YES
and
guest_username=virtual

I believe it, because it didnt work using my old vsftpd and before i reinstalled everthing...

Well now i spent many many hours, checking through things, reinstalling things, and alot of reading, tho no soloution in sight... Help required! :rolleyes:

So all help, kindly appreciated! :D