FTP Users cant be accessed

hostpc.com

Verified User
Joined
Aug 2, 2003
Messages
1,053
Location
Schenectady, NY
Ok, here's the situation as a user just reported it. This is a FQDN.

1. Created an FTP account with access to User. (also tried as Domain).

2. Tried to login to FTP:

Results:

[root@www10 public_html]# ftp ftp.hostpc.com
Connected to ftp.hostpc.com (63.247.79.140).
220 ProFTPD 1.2.9 Server ready.
Name (ftp.hostpc.com:root): [email protected]
331 Password required for [email protected].
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

also tried:

331 Password required for test.
Password:
530 Login incorrect.

I can't set just a standard FTP user, even tho the clients, and my domain, are set for unlimited FTP users.

Checking /var/log/messages, I see these entries:

Mar 29 18:44:22 www3 PAM_pwdb[12556]: check pass; user unknown
Mar 29 18:44:23 www3 proftpd[12556]: www3.privatelabeldns.com (63.247.79.145[63.247.79.145]) - PAM([email protected]): User not known to the underlying authentication module.


Any ideas?
 
Hello,

Check the /etc/proftpd.vhosts.conf file.

If it's an owned IP, make sure it's poiting to /usr/local/directadmin/data/users/username/ftp.passwd

If it's a shared IP, make sure it's pointig to /etc/proftpd.passwd.

For either file, make sure that the user is in it.

For a note with PAM, the password files used proftpd and DA are not setup for PAM, but rather just a plain text file format. If the PAM is being used, I believe it should just fail and then try the text files after that.

John
 
Hello,

Just send us an email to [email protected]. If you want us to have a look, then include your IP and root password, along with a sample ftp account that isn't working (maybe the da login/pass as well)

John
 
Thanks - email sent. Pls keep in mind, this isn't just one acct - it's happening on multiple, if not all accts on the box.

Thanks

Joe
 
I was searching through the forums and saw this old post, I am having this same problem. I was wondering what the resolution to this problem was... any help would be great!
 
I have the problem too, the config files seems to be fine.

Any feedback on this since then ?

just checked, the ftp.passwd files in the data/users foder are empty...
 
Last edited:
problem solved :

I replaced the proftpd.vhost.conf by a blank file and now everything seems to work fine.
 
Back
Top