LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-07-2011, 06:35 AM   #1
Zycus
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Rep: Reputation: Disabled
Ftp login problem


i had configure my vsftpd.conf file here it is:


anonymous_enable=NO
local_enable=YES
write_enable=YES
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=21
pasv_min_port=30000
pasv_max_port=30999
pam_service_name=vsftpd



and this is my pam file

auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_users
account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_users

but still i cant login in ftp server as virtual usrer.

Last edited by Zycus; 07-07-2011 at 06:36 AM.
 
Old 07-10-2011, 11:13 PM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
Way too little info to tell what is going on, but...

What distro?
What sort of error?
What message(s) do you get at the client?
Can you login using any other ID?
Are there syslog or ftp log messages (/var/log/messages, /var/log/secure, /var/log/xferlog)?
You specified listen mode, did you start vsftpd?
Does 'netstat -anp | grep vsftpd' show the process listening?
Do you run SElinux in enforcing mode?
Did you create a home directory for that user?

Do you have a firewall blocking those ports?

I tried what was in your other post and this one, http://linuxforfun.net/2008/04/05/vsftpd-virtual-users/, and that was what my first problem was.
 
  


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
FTP login problem in XP muskan Linux - Networking 2 12-26-2007 10:12 AM
proftpd. FTP login problem.. gplacek Linux - Networking 5 12-09-2004 07:29 AM
FTP Network login problem codabiz Linux - Networking 3 05-21-2004 01:16 AM
FTP login problem Tobas Linux - Software 4 12-28-2003 09:37 AM
FTP Login Problem CanadianPenguin Linux - Networking 3 10-18-2003 06:45 PM

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

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