LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-17-2006, 06:43 AM   #1
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Proftpd 530 Login Incorrect error besides correct password


Hello Everyone,

Besides correct password, my proftpd is showing following error:-



USER shakti

331 Password required for shakti.
PASS xxxx
530 Login incorrect.
Disconnecting from site x.x.x.x



Help, Please,


Thanks in advance
 
Old 06-17-2006, 06:56 AM   #2
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Yet no solution



Hello everyone,

I tried it using ftp client and following is the output:-

[root@bramha ~]# ftp shakti
Connected to shakti.
220 ProFTPD 1.2.10 Server (shakti) [shakti]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (shakti:root): music
331 Password required for music.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.


Help guys I am totally struck
 
Old 06-18-2006, 02:00 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
how long is your password

try add new user on shakti with password 6 chars only and test it if worked with this user mean you are using 3DES not MD5

FYI: old system use 3DES with not supported long chars pass
 
Old 06-18-2006, 11:04 PM   #4
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hi Routers,

Thanks for your reply, but id did not worked.

I will post my proftpd.conf:-


ServerName "SHAKTI"
ServerType inetd
DefaultServer on
Port 21
Umask 022
IdentLookups off
MaxInstances 30
User nobody
Group nobody
<Directory /*>
AllowOverwrite on
AllowStoreRestart on
AllowRetrieveRestart on
</Directory>

PersistentPasswd off
DefaultChdir /var/www webadmin

<Limit LOGIN>
AllowGroup ftpusers music
DenyAll
</Limit>


Thanks
 
Old 06-18-2006, 11:15 PM   #5
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
can u change user and group to ftp instead of nobody in proftpd.conf and restart proftpd

and try also


User nobody
Group nogroup

test it

also examin proftpd.log

Last edited by routers; 06-18-2006 at 11:23 PM.
 
Old 06-18-2006, 11:32 PM   #6
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Ok Routers,


I will check and confirm
 
Old 06-19-2006, 02:39 AM   #7
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hi,

There is no such file for logs in /var/log/proftpd

I tried a no. of permutations and combinations and then thought lets install vsftpd which I am used to.

But, after configuring vsftpd the way I usually do and was on previous server. Still it is giving some problems to login as a local user. But, I think the problem may be regarding PAM as I found a line:-

PAM(music): Authentication failure.

So,
Any idea?
 
Old 06-19-2006, 03:17 AM   #8
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hello routers,

I found the solution.This problem was because of the login shell I had added to this user (It was ftponly ) which I had scpd from another server. I changed it to /sbin/nologin and also I had to open the port 21 and 20 (control and data port)

And voila, it worked

Thanks for your help
 
Old 06-19-2006, 06:38 AM   #9
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
finaly im glad to hear that

can let me know what is port 20 u use for ?
 
Old 01-07-2008, 02:13 AM   #10
longbow-core
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
20 port is used for data transfer
 
  


Reply


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
vsftpd 530 login incorrect pocon Slackware 7 03-08-2012 07:30 AM
ProFTPd on SuSE 9.1:Error 530 (Login Incorrect) bmctee Linux - Software 0 08-10-2004 12:21 AM
530 Login incorrect & proftp 80s Linux - Newbie 7 05-11-2004 08:06 PM
vsftp 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Networking 12 10-29-2003 12:43 AM
vsftpd 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Software 4 08-17-2003 07:58 PM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration