Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-08-2003, 04:09 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2003
Posts: 17
Rep:
|
Installation vsftpd - Virtual Users
Hi all,
i have a problem with the installation of vsftpd-1.1.3 .
I compiled and installed the files without a problem and i can access the ftp-server with a normal userlogin.
But i want to use the virtual user access, as described in EXAMPLES/VIRTUAL_USERS .
I do the steps in this documentation exactly (without the port-commands), but it seems the vsftpd-server doesn't know the virtual user "tom" .
Error-Message : Tue 8 Apr 09:46:00 2003 [pid 15480] [tom] FAIL LOGIN: Client ...
There is no problem to login as a "real" user with a login in the /etc/passwd (for instance: user virtual).
The files (logins.txt -> vsftpd_login ; /etc/pam.d/ftp (vsftpd); vsftpd.conf) are the same like in the EXAMPLE/VIRTUAL USER Directory.
The pam-libraries exist. I created the password-file with the program db2_load (Berkely-DB 4.0.14-64).
Anyone an idea, why it doesn't work ?
with kind regards
Yoss
|
|
|
|
04-10-2003, 10:06 AM
|
#2
|
|
LQ Newbie
Registered: Apr 2003
Location: Atlanta, GA
Posts: 2
Rep:
|
Suggestions
Yoss,
First off, I'm a newbie as well. I just got vsftpd running last night, and am still having a few problems with virtual users, but have been able to log in.
First thing to try... are you using xinetd? If so, have you tried restarting it?
Next... you say you took out the port commands. I'm assuming that you mean the passive ports:
pasv_min_port=30000
pasv_max_port=30999
I took these out as well. If you also removed the listen port:
listen=YES
listen_port=10021
put it back. You don't have to use port 10021, but you will need to specify a port.
If that's the case, update your vsftpd.conf file, and then restart xinetd.
Try logging in, ftp localhost <port number specified in conf>
then try the tom ID with the foo password.
Hope this helps, and if I get any further with my setup, I'll post an addendum.
-Laduj
|
|
|
|
04-11-2003, 12:51 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2003
Posts: 17
Original Poster
Rep:
|
Hi Laduj,
thanks for your suggestions.
vsftpd works on my machine as the standalone version (LISTEN=YES). I took out only the passive portcommands.
But i will try it today with xinetd. Maybe this works with this configuration ...
I will write a posting, if i tested it.
with kind regards
Yoss
|
|
|
|
04-11-2003, 03:04 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2003
Posts: 17
Original Poster
Rep:
|
No, it doesn't work  .
@Laduj
can you post your /etc/pam.d/ftp - file?
Which version of BerkelyDB do you use?
Yoss
|
|
|
|
04-12-2003, 12:19 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2003
Location: Atlanta, GA
Posts: 2
Rep:
|
Yoss,
Sorry the xinetd suggestion didn't work.
Here is my /etc/pam.d/ftp file:
auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd_login
I am running version db4-4.0.14 of BerkeleyDB.
Hope this helps, let me know if you need anything else.
Laduj.
|
|
|
|
04-15-2003, 02:42 AM
|
#6
|
|
LQ Newbie
Registered: Apr 2003
Posts: 17
Original Poster
Rep:
|
Hi laduj,
yesterday i tried several things, but nothing helps....
It's frustating, there is no logfile entry, no hint, why it doesn't work ...
Thanks for your help. If i have a new idea, i will post it...
with kind regards
Yoss
|
|
|
|
07-10-2003, 04:12 PM
|
#7
|
|
LQ Newbie
Registered: Jul 2003
Location: UK - Milton Keynes
Distribution: Fedora Core 1
Posts: 5
Rep:
|
I had vsftpd working with xinetd, but when I set up virtual users, I could only get it working when not going through xinetd.
Could it be that virtual users and xinetd are just mutually exclusive ?
Has anyone been able to use both at the same time ?
|
|
|
|
07-11-2003, 03:00 AM
|
#8
|
|
LQ Newbie
Registered: Apr 2003
Posts: 17
Original Poster
Rep:
|
Hi malrich,
it's interesting, i my configuration virtual users works only with xinetd.
I use a Suse-rpm-package of vsftpd.
I tried several times to compile vsftpd from the source code but it doesnt work on my machine.
regards
Yoss
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|