Cannot login to FTP (proftpd) with a single user on Debian Squeeze
So I've been trying to get a single user to login to an FTP site I've created using proftpd and I haven't had much luck. So check this out: this only applies to one user, I can "su" to the user account so I know the password is set, and I am even able to SSH into the box as this user. This totally eliminates a bad/incorrect password and the server IS accepting connections on port 21 because I can FTP as other users. I've ruled out the client because I tried locally and using a command prompt from Winders but still no luck. This is what I'm seeing in the logs when I attempt to connect using an FTP client.
::ffff:192.168.1.118 UNKNOWN proftpd [18/Jul/2011:15:57:44 -0700] "USER crownftp" 331 -
Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session opened for user crownftp by (uid=0)
Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session closed for user crownftp
proftpd -l shows the following
Like I said, I can authenticate into the box with SSH and su but not thru FTP. What gives?
Login as root?
Please check below link:
Thank you for your reply, you pointed me in the right direction. The entry in my proftpd.conf has the default directory to point to ~/FTP which was owned by root, therefore causing the login to fail due to a permissions issue.
Edit: ok so I thought it was fixed by the problem persists. When I check the logs I'm noticing all the users have the uid=0 and some are able to login while others aren't. I even enabled RootLogin just for testing and it still didn't work. Suggestions?
Final edit: I did some more digging around and it looks like I was right in the first place, as it only applied to a certain user. As I mentioned before, I still noticed all the users are trying to login with the uid=0. What's that about?
|All times are GMT -5. The time now is 10:49 AM.|