LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-14-2004, 10:52 AM   #1
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Rep: Reputation: 15
FTP Server question....


http://www.linuxquestions.org/questi...hreadid=204784

Thanks,
JOsh
 
Old 07-14-2004, 11:13 AM   #2
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
What kind of auth mechanism are you using for FTP?

And remember that if you are using PAM, you will have to consider, potentially, all offered authentication mechanisms.
 
Old 07-14-2004, 12:09 PM   #3
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
whatever installs with proftpd... haha.. excuse my ignorance.... i'm not sure how it is determined or how to change it..

Thanks for the reply..
JOsh
 
Old 07-14-2004, 12:15 PM   #4
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
Chances are good, that you're using some sort of PAM, which could be forced to wait for a timeout of sorts prior to authentication by the local files mechanism.

I would suggest checking your /etc/pam.d/system-auth file (location may vary) and look to see what kind of auth mechanism your device is using.
 
Old 07-14-2004, 12:19 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The problem appears even from local host ? (ftp localhost)
 
Old 07-14-2004, 12:19 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
This is called cross posting. It is against the LQ Rules. If you think (after at least 24 hours) that your thread is not getting the attention it needs, bump it by replying with more information or report it to a moderator and ask for it to be moved.

Your other thread is now closed.
 
Old 07-14-2004, 01:38 PM   #7
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
sorry.. i wasn't aware of the rule... thank you...

i'm not sure if it has the problem ftping localhost... i'm not near the machine right now, so i couldn't say...

LanRx... proftpd is using system users... so how will changing this information effect other things with the system... what do i change it to etc...

josh
 
Old 07-14-2004, 01:48 PM   #8
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
Code:
#%PAM-1.0

auth        required      pam_env.so
auth        sufficient    pam_unix.so likeauth nullok
auth        required      pam_deny.so

account     required      pam_unix.so

password    required      pam_cracklib.so retry=3 minlen=2  dcredit=0  ucredit=0 
password    sufficient    pam_unix.so nullok use_authtok md5 shadow
password    required      pam_deny.so

session     required      pam_limits.so
session     required      pam_unix.so
 
Old 07-14-2004, 01:55 PM   #9
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
I think that what I would do, is kill ftpd, and restart it with an increased debug level. Then try to FTP to it, it should show you what your problem is with your authentication.
 
Old 07-14-2004, 02:01 PM   #10
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
there is no "problem" really.. it's just really really slow... has no one else dealt with this?! it's the default install of proftpd with mdk10
 
Old 07-14-2004, 02:08 PM   #11
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
But, by running it in debug mode, you should be able to see if it is cycling waiting for something to timeout, or something of the sort.
 
Old 07-14-2004, 02:25 PM   #12
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
oh.. i see.. i'm not sure how to do that...
 
Old 07-14-2004, 02:35 PM   #13
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
killall ftpd (or ps -ef |grep ftpd, and look for the pid to kill)
restart the daemon interactively ./ftpd -d 255 or possibly ./ftpd -ddd (the -d flags are normally the debug switches. usually the debug switch follows one of the aforementioned syntaxes)
when you log in, and you're waiting for the daemon to provide auth, watch the stdout, and see if there is anything timing out during authentication.
 
  


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
general FTP server question fatrandy13 Linux - Software 2 06-02-2005 03:23 PM
FTP server question Josh328 Mandriva 1 07-14-2004 12:20 PM
FTP Server Question. ThE_DeaD Linux - Software 3 12-11-2003 04:36 AM
simple ftp server question BrianK Linux - General 3 07-31-2002 07:08 AM
FTP server question dpl Linux - Newbie 2 03-14-2002 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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