Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th November 2004, 06:54 PM
emzer Offline
Registered User
 
Join Date: Oct 2004
Posts: 53
Question VSFTPD - FC2 - Virtual User Trouble

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!

So all help, kindly appreciated!
__________________
"A wise man in times of peace prepares for war."

Emzer
Reply With Quote
  #2  
Old 26th February 2005, 11:09 AM
emzer Offline
Registered User
 
Join Date: Oct 2004
Posts: 53
Lightbulb Solved, mwhaha

Okay I been checking around the web for months now without finding any answers to this, the opposite tbh, I have found tons of questions about same problem, and well at last I found the soulotion by an accident when scrolling through all config files and command references. The funny thing is that this isnt mentioned Anywhere at all!

This is the problem:
You name your FTP pam file to "ftp" when you follow the virtual user setup tutorial included in the vsftpd source.

But in your conf file you have this line by default:
pam_service_name=vsftpd

Well, because we named it ftp, we basically change this to:
pam_service_name=ftp

hope this helps everyone else that worked for a long time to find a soulotion
__________________
"A wise man in times of peace prepares for war."

Emzer

Last edited by emzer; 26th February 2005 at 11:21 AM.
Reply With Quote
Reply

Tags
fc2, trouble, user, virtual, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd virtual users in FC5 -w-db3 jhp1 Servers & Networking 0 18th April 2006 02:37 AM
VSFTPD User permissions and Virtual Users RJDavison Servers & Networking 0 24th January 2006 02:07 PM
With vsftpd, how to set each virtual user to use a different directory & real user? Terence Servers & Networking 1 9th December 2005 05:10 AM
With vsftpd, how can each virtual user uses a different directory & real user? Terence Using Fedora 0 5th December 2005 09:27 AM
vsftpd virtual user starting in their home knightdog Using Fedora 0 21st March 2005 09:15 PM


Current GMT-time: 07:31 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat