[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

vsftpd setup problems (virtual users)

Posted on 2006-03-30
6
Medium Priority
?
2,729 Views
Last Modified: 2013-11-15
Still new to linux and Suse10, but I have managed to get apache2 and some form of vsftpd running , but now trying to only allow local users and virtual users.

I have followed the documentation at http://vsftpd.beasts.org  almost to the letter and I have managed to get the server started and if now asks for user/pass which it never accepts.

I would really appreciate any pointers.  Of course, just let me know any additional info you need.  Here are some settings that I have.

/etc/pam.d/vsftpd.pam
  auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
  account required /lib/security/pam_userdb.so db=/etc/vsftpd_login

/etc/vsftpd.conf
  anonymous_enable=NO
  local_enable=YES
  write_enable=NO
  anon_upload_enable=NO
  anon_mkdir_write_enable=NO
  anon_other_write_enable=NO
  chroot_local_user=YES
  guest_enable=YES
  guest_username=virtual
  #listen=YES
  #listen_port=10021
  pasv_min_port=30000
  pasv_max_port=30999

vsftp_login.db  seems to have successfull been created as a binary file

Thanks for any info
Rockman
0
Comment
Question by:rockmansattic
  • 3
  • 3
6 Comments
 
LVL 6

Accepted Solution

by:
mightyone earned 2000 total points
ID: 16337521
make sure all users exist and are known to system.

nice german tuitorial
http://archiv.debianhowto.de/de/vsftpd/installation_konfiguration.html

this one is english and not to bad either
http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/ftp-server.htm
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 16342058
thanks, I have opted for teh english version and gotten it to work sort of.  

With this config, I can ftp via terminal from anywhere on my network, but I get a "Child Died" when I attempt via browser.  

Any ideas?

thanks
Rockman
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 16344916
Im now very close...

I am now using local users ,NOT VIRTUAL.

Here the last step for me.

I can login with command line from remote.
I can login through browser fine only if Firewall is OFF.
I can make first connection to server (where it asks for password) if I add port 21 to my "additional allowed ports" in YAST.  But it then stalls.
I have attempted to add port 20 but that doesnt work the way I tried it.

Thanks for any info.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 6

Expert Comment

by:mightyone
ID: 16351384
ftp uses more ports,

main ports are
20,21,,989,990
supplement for some special clients
47,247,349,574,1031
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 16351661
Still no go.
I have opend? all these ports using YAST in the TCP location and still stalls AFTER I put in a correct password.

You have answered my first question. Thanks
0
 
LVL 6

Expert Comment

by:mightyone
ID: 16355437
make sure it is tcp and udp u allowed.  maybe think of putting your ftp on dmz settings or change to ssh and scp
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question