ProFTPD will not let me login! Pleas help. I have the correct user/pass but it still won't let me login.
Well, what errors show up in the error log?
However, also check out the tail end of this thread, where someone resolved a similar problem just today: https://www.virtualmin.com/node/10231
I have nothing in /var/log/proftpd
Can someone please help me with this?
Did you look in the link I offered above? :-)
Someone just had the problem you described -- try the solution in the post at the above link and let us know if that helps.
Yes, and I looked at my /var/log/messages and I see nothing about the auth
Not the part about the logfiles -- I gave a link to another forum thread above, where someone had the same problem as you're seeing.
You can see their resolution in this bug request:
I have already checked those links and they didn't help me. I already have pam commented out.
Still need help with this. :(
Okay, a few additional questions:
What distro/version are you using?
What ProFTPd version are you using?
Can you attach a copy of your /etc/proftpd/proftpd.conf file?
What shell is the user in question using?
Here you go sir,
CentOS release 5.3 (Final)
ProFTPD Version 1.3.2
The txt file provided is my config
Okay, first off, a silly question, but I have to ask :-)
Did you restart the ProFTP server after commenting out the pam line in the config?
Also, as you attempt to log in, CentOS should log some info into /var/log/secure -- do you see any messages relating to FTP?
However, you also seem to be using a version more recent than what's provided in the Virtualmin repo.
While it of course should work, some folks have reported problems with some versions of ProFTP, and it's possible that there's an issue with the version you're using.
Does it work if you use the version provided in the Virtualmin software repository?
Yes, I did restart the service.
Aug 27 11:53:41 server proftpd: localhost.localcomain (::ffff:220.127.116.11[::ffff:18.104.22.168]) - USER anonymous: no such user found from ::ffff:22.214.171.124 [::ffff:126.96.36.199] to ::ffff:188.8.131.52:21
Aug 27 11:53:41 server proftpd: localhost.localcomain (::ffff:184.108.40.206[::ffff:220.127.116.11]) - FTP session closed.
Aug 27 11:53:50 server proftpd: localhost.localcomain (::ffff:18.104.22.168[::ffff:22.214.171.124]) - USER brandon.myxtalk (Login failed): Incorrect password.
Aug 27 11:53:50 server proftpd: localhost.localcomain (::ffff:126.96.36.199[::ffff:188.8.131.52]) - FTP session closed.
Thats the only version of Proftpd that I have.
What do you get if you type:
rpm -qa | grep -i proftp
That appears to be the ProFTP version provided in the DAG repository.
What happens if you switch to the one provided by Virtualmin?
You can download it here:
And then as root, run the following to install it:
rpm -Uvh --oldpackage proftpd-1.3.0a-3.el4.i386.rpm
Note that the config provided in the Virtualmin package may not get used by default, since it likely won't overwrite your current config. If things don't work out of the box, you may want to replace your current config with the one you get in the Virtualmin-provided proftp.
Where would I find the virtualmin proftpd config at?
While running rpm with the above mentioned parameters, it would tell you what it does with the config file. It might name it something like proftpd.conf.rpmnew, for example.
K - I tried everything I could read about this and finally found a solution. So, I hope this works for all of you who are having the same issue.
I added the following line to the /etc/proftpd.conf file:
<Limit EPSV PASV>DenyAll</Limit>
I'm using CentOS 5.5 and the current Virtualmin... 3.83.gpl GPL
ProFTPd version 1.32
It was found in the following article:
Thank you Ryan... you were a big help.
My proftpd works without these settings (centos 5.5). I think there could be something wrong with your installation. Your proftpd version should be actually: ProFTPD Version 1.3.3c (which also fixes a security issue in 1.32)