LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   530 Login incorrect & proftp (https://www.linuxquestions.org/questions/linux-newbie-8/530-login-incorrect-and-proftp-39495/)

80s 12-27-2002 04:24 AM

530 Login incorrect & proftp
 
I get the following when I try to logon to my ftp sight
PLEASE HELP....
Looking up kerrin.pintek.co.za
Trying kerrin.pintek.co.za:21
Connected to kerrin.pintek.co.za:21
220 Kerrin
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530 Login incorrect.
Disconnecting from site kerrin.pintek.co.za
##### This is my proftp.conf file ########
ServerName "Kerrin"
ServerType standalone
DeferWelcome off
Port 21
Umask 002
User ftp
Group ftp
TransferLog /home/ftpd/logs/xferlog.legacy
DefaultRoot /home/ftp
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
#ScoreboardFile /var/run/proftpd
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
UseReverseDNS off
MultilineRFC2228 on
AllowFilter ".*/[a-zA-Z0-9 ]+$"
Port 0

<Global>
# DisplayLogin welcome.msg
# DisplayFirstChdir readme
AllowOverwrite yes
AccessGrantMsg "Welcome to Kerrin's home %u"
# DisplayConnect /home/ftpd/login.msg
IdentLookups off
ExtendedLog /home/ftpd/logs/access.log WRITE,READ write
ExtendedLog /home/ftpd/logs/auth.log AUTH auth
ServerIdent on "Kerrin"
AllowForeignAddress on
PathDenyFilter "(\.htaccess)|(\.ftpaccess)$"
</Global>

<VirtualHost 192.168.200.245>
ServerAdmin server@pinetek.co.za
ServerName "Kerrin's Place"
TransferLog /home/ftpd/logs/v192.log
MaxLoginAttempts 3
RequireValidShell no
DefaultRoot /home/ftp
User greg
Group greg
AllowOverwrite yes
DefaultServer yes
LoginPasswordPrompt off "Wibble"

<Anonymous /home/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
RequireValidShell no
##MaxClients 200
MaxClientsPerHost 5 "Please don't be a hog and open any more sessions"
AccessGrantMsg "Welcome to Kerrin's Place"
#
# Global upload, no download or browsing.
#
<Directory pub/*>
AllowOverwrite off
<Limit STOR CWD XCWD CDUP MKD>
AllowAll
</Limit>
<Limit READ DELE WRITE DIRS>
DenyAll
</Limit>
</Directory>
</Anonymous>
</VirtualHost>

Mara 12-27-2002 04:46 AM

Do you have user 'ftp' in your system?

80s 12-30-2002 07:37 AM

got
 
Yes got both user and group ??

Any other sugestions ??

Thanks

MasterC 12-30-2002 07:55 AM

Have you checked your proftpd.log file? Mine exists at: /var/log/proftpd.log

But your logs appear to be in: /home/ftp

So anyway, find that and see what it says from the last error, post it here if you are unsure.

Cool

trickykid 12-30-2002 08:07 AM

One thing you can also check for would be this,
See if you have an /etc/ftpusers or /etc/ftpaccess file and make sure you have the user ftp commented out like:

#ftp

80s 12-30-2002 08:32 AM

in's Place [2807] 192.168.200.245 [27/Dec/2002:08:50:53 +0200] "PASS anonymous@" 530
Kerrin's Place [2807] 192.168.200.245 [27/Dec/2002:08:51:01 +0200] "USER " 500
Kerrin's Place [2807] 192.168.200.245 [27/Dec/2002:08:51:10 +0200] "USER anonymous" 331
Kerrin's Place [2807] 192.168.200.245 [27/Dec/2002:08:51:10 +0200] "PASS anonymous" 530
Kerrin's Place [2807] 192.168.200.245 [27/Dec/2002:08:51:54 +0200] "USER root" 331
Kerrin's Place [2821] 192.168.200.245 [27/Dec/2002:08:54:54 +0200] "USER anonymous" 331
Kerrin's Place [2821] 192.168.200.245 [27/Dec/2002:08:54:54 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [2822] 192.168.200.245 [27/Dec/2002:08:55:24 +0200] "USER anonymous" 331
Kerrin's Place [2822] 192.168.200.245 [27/Dec/2002:08:55:24 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [2823] 192.168.200.245 [27/Dec/2002:08:55:54 +0200] "USER anonymous" 331
Kerrin's Place [2823] 192.168.200.245 [27/Dec/2002:08:55:54 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [2826] 192.168.200.245 [27/Dec/2002:08:56:12 +0200] "USER anonymous" 331
Kerrin's Place [2826] 192.168.200.245 [27/Dec/2002:08:56:12 +0200] "PASS greg@pinetek.co.za" 530
Kerrin's Place [2827] 192.168.200.245 [27/Dec/2002:08:56:42 +0200] "USER anonymous" 331
Kerrin's Place [2827] 192.168.200.245 [27/Dec/2002:08:56:42 +0200] "PASS greg@pinetek.co.za" 530
Kerrin's Place [2828] 192.168.200.245 [27/Dec/2002:08:57:12 +0200] "USER anonymous" 331
Kerrin's Place [2828] 192.168.200.245 [27/Dec/2002:08:57:12 +0200] "PASS greg@pinetek.co.za" 530
Kerrin's Place [3119] 192.168.200.245 [27/Dec/2002:12:18:40 +0200] "USER anonymous" 331
Kerrin's Place [3119] 192.168.200.245 [27/Dec/2002:12:18:40 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [3120] 192.168.200.245 [27/Dec/2002:12:19:10 +0200] "USER anonymous" 331
Kerrin's Place [3120] 192.168.200.245 [27/Dec/2002:12:19:10 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [3121] 192.168.200.245 [27/Dec/2002:12:19:40 +0200] "USER anonymous" 331
Kerrin's Place [3121] 192.168.200.245 [27/Dec/2002:12:19:40 +0200] "PASS root@kerrin.pintek.co.za" 530
Kerrin's Place [4002] 192.168.200.245 [30/Dec/2002:16:23:58 +0200] "USER anonymous@192.168.200.247" 331
Kerrin's Place [4002] 192.168.200.245 [30/Dec/2002:16:23:58 +0200] "PASS (hidden)" 530
Kerrin's Place [4002] 192.168.200.245 [30/Dec/2002:16:24:02 +0200] "USER @192.168.200.247" 331
Kerrin's Place [4002] 192.168.200.245 [30/Dec/2002:16:24:02 +0200] "PASS (hidden)" 530
Kerrin's Place [4002] 192.168.200.245 [30/Dec/2002:16:24:11 +0200] "USER anonymous@192.168.200.247" 331
Kerrin's Place [4005] 192.168.200.245 [30/Dec/2002:16:24:28 +0200] "USER anonymous@192.168.200.245" 331
Kerrin's Place [4005] 192.168.200.245 [30/Dec/2002:16:24:28 +0200] "PASS (hidden)" 530
Kerrin's Place [4005] 192.168.200.245 [30/Dec/2002:16:24:32 +0200] "USER @192.168.200.245" 331
Kerrin's Place [4005] 192.168.200.245 [30/Dec/2002:16:24:32 +0200] "PASS (hidden)" 530
Kerrin's Place [4005] 192.168.200.245 [30/Dec/2002:16:24:48 +0200] "USER nobody@192.168.200.245" 331
## this is the result in the auth.log file.
## access.log is empty & no others have been created..

80s 12-30-2002 08:48 AM

# ftp
 
i have tried commenting out the ftp user but this did not work :(

pizdec 05-11-2004 08:06 PM

make sure the user is not expired
 
I got today 530 error on proftpd running on Solaris. The problem was that user had expired and soution was that he/she had to get a new expiration date.
C'est la vie. {Pizdec}


All times are GMT -5. The time now is 09:25 PM.