LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2011, 09:43 AM   #1
redss
Member
 
Registered: Jun 2003
Posts: 168

Rep: Reputation: 16
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?
 
Old 02-04-2011, 09:05 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Are you sure that the FTP service is running? Did you check it with
$ netstat -anut
and look for port 21?
 
Old 02-04-2011, 09:17 AM   #3
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
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 (btnone)): root
331 Password required for root
Password:
530 Login incorrect.
Login failed.
ftp>
 
Old 02-04-2011, 10:50 AM   #4
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Do you have

Code:
RootLogin on
in /etc/proftpd.conf? Root login is probably disabled by default.
 
1 members found this post helpful.
Old 02-04-2011, 11:09 AM   #5
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
That was it. Thanks!
 
Old 02-04-2011, 12:57 PM   #6
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
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.

Last edited by Ilgar; 02-04-2011 at 12:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anonymous FTP for all, user FTP logins only for specific IP ranges Sjorrit Slackware 15 04-24-2009 02:32 PM
Can't get Samba 3 to accept logins rperlberg Linux - Software 0 12-18-2006 04:25 PM
proFTPd won't accept logins Harry Hunt Linux - Software 4 08-18-2005 12:35 AM
how to enable FTP service? hedaPrakash Linux - Newbie 7 07-17-2003 10:36 PM
proftpd server wont accept anynomous logins bripage Linux - Networking 1 08-01-2002 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration