LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't enable FTP service to accept logins (https://www.linuxquestions.org/questions/slackware-14/cant-enable-ftp-service-to-accept-logins-860488/)

redss 02-03-2011 09:43 AM

can't enable FTP service to accept logins
 
I have a slackware 12 distro (actually backtrack 3) that I want to enable FTP logins. So I start the proftp service with in.proftpd

But when I attempt login with ftp, I get "530 Login incorrect" after entering the correct password for the account.

What can I do to fix this?

ChrisAbela 02-04-2011 09:05 AM

Are you sure that the FTP service is running? Did you check it with
$ netstat -anut
and look for port 21?

redss 02-04-2011 09:17 AM

Yes, here is my output:


bt ~ # netstat -anut | grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN

and from my windows client:

c:\>ftp bt
Connected to bt.
220 ProFTPD 1.3.1rc3 Server (ProFTPD Default Installation) [192.168.0.101]
User (bt:(none)): root
331 Password required for root
Password:
530 Login incorrect.
Login failed.
ftp>

Ilgar 02-04-2011 10:50 AM

Do you have

Code:

RootLogin on
in /etc/proftpd.conf? Root login is probably disabled by default.

redss 02-04-2011 11:09 AM

That was it. Thanks!

Ilgar 02-04-2011 12:57 PM

You're welcome. I should add that it is not recommended to enable root logins since it increases security risks considerably. If you need to do file transfers you can do it as an ordinary user. If you want shell access for remote maintenance, you can use your SSH server for that (you can indeed use SSH for file transfers, too). Personally I'm using only SSH for file transfers from/to my computers.


All times are GMT -5. The time now is 11:27 PM.