Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-20-2010, 06:33 PM   #1
LQ Newbie
Registered: Apr 2010
Location: IL, USA
Posts: 4

Rep: Reputation: 0
proftpd always responds with 530 (slackware)

I followed this tutorial [] trying to set up proftpd. I'm using Slackware 13.1, but I had assumed most of the tutorial was all relevant still.

Using the default proftpd.conf file, I was able to do anonymous login, but I was hoping to use the conf file in the tutorial to only allow certain users, so it currently looks like this:

# To really apply changes reload proftpd after modifications.
AllowOverwrite on
AuthAliasOnly off

# Choose here the user alias you want !!!!
#UserAlias sauron userftp

ServerName "ChezFrodon"
ServerType standalone
DeferWelcome on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks off

TimeoutNoTransfer 600
TimeoutStalled 100
TimeoutIdle 2200

DisplayChdir .message
ListOptions "-l"

RequireValidShell off

TimeoutLogin 20

RootLogin off

# It's better for debug to create log files ;-)
ExtendedLog /var/log/ftp.log
TransferLog /var/log/xferlog
SystemLog /var/log/syslog.log

#DenyFilter \*.*/

# I don't choose to use /etc/ftpusers file (set inside the users you want to ban, not useful for me)
UseFtpUsers off

# Allow to restart a download
AllowStoreRestart on

# Port 21 is the standard FTP port, so you may prefer to use another port for security reasons (choose here the port you want)
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 8

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022

PersistentPasswd off

MaxClients 8
MaxClientsPerHost 8
MaxClientsPerUser 8
MaxHostsPerUser 8

# Display a message after a successful login
AccessGrantMsg "welcome !!!"
# This message is displayed for each access good or not
ServerIdent on "you're at home"

# Set /home/FTP-shared directory as home directory
DefaultRoot /home/FTP-shared

# Lock all the users in home directory, ***** really important *****
DefaultRoot ~

MaxLoginAttempts 5

<Limit LOGIN>
AllowUser userftp

<Directory /home/ftp>
Umask 022 022
AllowOverwrite off

<Directory /home/ftp/download/*>
Umask 022 022
AllowOverwrite off

<Directory /home/ftp/upload/>
Umask 022 022
AllowOverwrite on

The UserAlias stuff is currently commented out as I was seeing if changing that had any effect, but it hasn't.

The ftp.log file just keeps showing

localhost UNKNOWN nobody [19/Jul/2010:21:35:11 -0500] "USER userftp" 331 -
localhost UNKNOWN nobody [19/Jul/2010:21:35:15 -0500] "PASS (hidden)" 530 -
localhost UNKNOWN nobody [19/Jul/2010:21:35:15 -0500] "SYST" 215 -
localhost UNKNOWN nobody [19/Jul/2010:21:35:19 -0500] "QUIT" 221 -
This may be pretty obvious, but I really don't know a whole lot about Linux. I've been trying to work with Slackware as I thought that it was going to be the best distro to really learn things on. I recently got Samba set up without any trouble, but I can't at all figure this ftp thing out. If anyone could help me, I'd greatly appreciate it. (I've seen this topic a lot, so I don't mean to be annoying by starting another thread about it, but so far the research has not helped me get this working.) If there's any other information I can post to help diagnose the problem, please let me know.

Thanks so much.
Old 07-20-2010, 07:16 PM   #2
LQ Newbie
Registered: Apr 2010
Location: IL, USA
Posts: 4

Original Poster
Rep: Reputation: 0
Apologies for the dumb post. Too much copying and pasting on my part and I missed a line I needed to edit for my purposes.


authorization, proftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ProFTPD [530 Login incorrect] dmjendor Linux - General 0 11-11-2008 04:15 PM
Proftpd 530 Login Incorrect error besides correct password imagineers7 Linux - Networking 9 01-07-2008 02:13 AM
Always 530 error with Proftpd Hum4ngus Linux - Software 6 01-06-2008 09:22 AM
yum update proftpd 530 login incorrect westdoor Linux - Networking 1 10-29-2006 06:25 AM
ProFTPd on SuSE 9.1:Error 530 (Login Incorrect) bmctee Linux - Software 0 08-10-2004 12:21 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:17 PM.

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