View Full Version : ProFTPd Problem
ThaRealest
30th August 2005, 02:33 PM
I've had my system running proftp for months with no problem but suddenly no user can log into the server. The only thing i can see that has changed is proftpd itself when it has updated via yum. I have since removed proftpd and reinstalled it along with gproftpd. The same problem occurs unless i select 'no' in the requires password field in gproftpd user configuration. When no password is required the ftp account can be accessed and all is fine but as soon as a password is put on it i always get a Login Incorrect error. Even when trying to log in as root i get a Login Incorrect error.
Anyone have ideas as to why this has happened and how i can fix this?
Tom
muychingon
30th August 2005, 02:52 PM
I assume you are trying to use a secure client to connect? -- I had a similar problem and I was just forgetting to use a client that supported sftp. Had a brain freeze and after I changed it, it began working. It seems that Fedora by default only allows sftp not regular ftp.
whats the output of this command:
(as root)
service --status-all|grep ftp
I'm kind of new at this as well so these are the things I would check. I've been using the sftp that comes in by default on Fedora without a problem even after updating via yum.
Just trying some tests against my own server, I found these two logs to contain relevant messages when trying sftp. I'm using FC2 for this...
/var/log/messages and /var/log/secure
Try "tail -f log" on one terminal while you try to access the ftp from another and see if you see any messages on this window.
ThaRealest
31st August 2005, 10:01 AM
output of service --status-all|grep ftp:
Device not specified in /etc/sysconfig/diskdump
rndc: connect failed: connection refused
Server address not specified in /etc/sysconfig/netdump
proftpd (pid 4587) is running...
squid: ERROR: No running copy
i'm testing it out with gftp on the same machine as the server is running so i assume its a secure client? unless it is set to not require a password i just get:
220 FTP
USER photos
331 Password required for photos.
PASS xxxx
530 Login incorrect.
though i know for sure that the login is correct
muychingon
31st August 2005, 04:35 PM
try connecting to it by using "sftp"
so if you're doing it from the same machine, do:
sftp user@localhost where user is the user you setup.
ThaRealest
6th September 2005, 04:08 PM
yeah logging in with sftp through terminal works no probs
muychingon
6th September 2005, 04:22 PM
so use sftp instead of ftp. its more secure anyway.
ThaRealest
9th September 2005, 09:06 AM
but how do ppl connect to me with like gftp or smartftp in windows through sftp? as far as i can see they cant
muychingon
9th September 2005, 10:26 PM
most newer clients should support sftp... for example, for my windows users I recommend that they use Filezilla. This is my favorite client and supports sftp and ftp.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.