FTP for users not working

duncan

Verified User
Joined
Jan 19, 2005
Messages
93
Location
Halifax, NS, Canada
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:

Code:
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:
Code:
<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!
 
Last edited:
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
 
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!
 
You (or your server) updated proftpd and installed a new config file. The old (working) one, was installed in .rpmsave.

Jeff
 
Back
Top