PDA

View Full Version : FTP for users not working


duncan
10-16-2006, 04:55 PM
I started with a new installation and have not yet been able to get this working.

As the admin, I can login to FTP fine. However, individual user FTP accounts do not work. (Both default and created FTP accounts don't work).

331 Password required for lisa.
PASS (hidden)
530 Login incorrect.


Users all share an IP. Only me, the admin owns an IP.

Here is the proftpd.conf file, minus the commenting:


AllowOverwrite on

<Limit SITE_CHMOD>
DenyAll
</Limit>

<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
#Group nogrou
#DefaultRoot ~
AllowOverwrite on

<Limit SITE_CHMOD>
DenyAll
</Limit>

<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message

<Limit WRITE>
DenyAll
</Limit>
</Anonymous>


here is the proftpd.vhosts.conf file:

<VirtualHost 216.187.96.69>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/216.187.96.69.bytes WRITE,READ$
AuthUserFile /etc/proftpd.passwd
</VirtualHost>


I read every single thread with the term "ftp" in it. I found a few similar problems, but none of the solutions worked here. This has been driving me crazy for almost a week now! :)

Any help would be great!

duncan
10-17-2006, 01:38 PM
Maybe someone with some FTP knowledge could give me a hand here...

I was looking at the proftpd.passwd file and noticed the admin password that I use isn't even in there. So how come it still works?

Surely there must be some file or setting somewhere here that is allowing proftpd to authenticate my admin login. If I can find that, maybe I can figure out why it's not accepting anyone else?

Thanks,

Duncan

duncan
10-17-2006, 02:45 PM
OK I fixed it.

I went in and found a file /etc/proftpd.conf.rpmsave and set that as my current proftpd.conf and it worked.

I have no idea what happened, but the two conf files looked very different. I would suspect one is the default proftp file, and the other is the directadmin (.rpmsave).

Anyways, hopefully this helps someone down the road!

jlasman
10-25-2006, 03:02 AM
You (or your server) updated proftpd and installed a new config file. The old (working) one, was installed in .rpmsave.

Jeff