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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-31-2002, 09:55 AM   #1
buddy
LQ Newbie
 
Registered: Dec 2002
Location: Montreal
Distribution: Mdk9
Posts: 20

Rep: Reputation: 0
Question proftpd config anguish -_= :: =_-


Hey folks -

Finally got all my apache/MYSQL/PHP running correctly, now I've moved on to trying to configure FTP.

I've read up on proftpd, but here we go with the stupid questions.

Before when I couldn't access my apache, I could still FTP in from anywhere on my network [non-secure], even though I had not [dont remember anyways] setting up an FTP server on my Mandrake 9.

1.Is there a default FTP server on Mandrake 9? I know that the ports themselves were open - would it simply accept system users to make connections? Because anonymous never worked and system users did.

2. After installing proftpd, how can I ensure that there is only 1 FTP server [not including virtual] running.

3. Directly related to proftpd -> how would one configure it to have only allow defined users to access the FTP server using proftpd. You see we'll be running an FTP server for our remote consultants, and I do not want to particularly create accounts for them on the base server. Any ideas? ftpusers I'm assuming. and where would I estabish the their root directory.

4. My next question is: Can someone please explain the procedure the FTP server uses during authentication. - Do all linux FTP servers use the "ftpusers" or is it specified elsewhere.

As you can see I have no experience in LINUX FTP servers - so any help is appreciated. Thanks mates!

Cheers
 
Old 12-31-2002, 11:10 AM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Re: proftpd config anguish -_= :: =_-

>Hey folks -
Hey...

> Finally got all my apache/MYSQL/PHP running correctly, now I've moved on to trying to configure FTP.

Yay!

1.Is there a default FTP server on Mandrake 9?

Don't know. I don't install ftp servers by default anymore, instead I use scp. I believe redhat used to install wuftp, dunno about Mandy though.

>I know that the ports themselves were open - would it >simply accept system users to make connections? >Because anonymous never worked and system users did.

Anonymous tended to be something you had to explicitly install. Again, I don't know the Mandy, but Redhat had anonftp.

2. After installing proftpd, how can I ensure that there is only 1 FTP server [not including virtual] running.

Only one 'server' will be able to accept connections on port 21. That one 'server' might well spawn threads to cope with multiple users at the same time, but understand that your ftp port can only be serviced by one program and you won't be able to get say, proftp and wuftp running both at the same time - they'd both be fighting for the same port to listen on.


>3. Directly related to proftpd -> how would one configure >it to have only allow defined users to access the FTP >server using proftpd.

Looking at the FAQ for proftp :

http://proftpd.linux.co.uk/docs/faq/linked/faq-ch7.html

I see :
2. Authentication methods supported
[some methods]
#
Indvidual passwd/group files for each virtual

This sounds like it's the one you want. Read up on it. It's not that hard and is very similar to the way apache (can do) user authentication.

>4. My next question is: Can someone please explain the >procedure the FTP server uses during authentication. - >Do all linux FTP servers use the "ftpusers" or is it >specified elsewhere.

No.. that is, no not all users use ftpuser. Again, read the docs for proftp - you can see from the above link that there are *many* ways it can authenticate a user and only a couple of them involve passwd/groups at all.

I'm not going to go into how an ftp server authenticates precisely because many of them are different. Read up on the docs for your ProFTP and learn about how that one does it. If you come across another, read up on the specifics of that one...

Here's the manual.

http://proftpd.linux.co.uk/localsite...userguide.html

Slick.
 
Old 12-31-2002, 11:24 AM   #3
buddy
LQ Newbie
 
Registered: Dec 2002
Location: Montreal
Distribution: Mdk9
Posts: 20

Original Poster
Rep: Reputation: 0
ur awesome dude,

cheers!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Config Proftpd saudoi Solaris / OpenSolaris 15 11-12-2005 12:03 AM
Help with ProFTPd config WNxSquee Linux - Software 5 01-06-2004 06:36 AM
help with proftpd config mconnors Linux - General 5 09-26-2003 03:16 PM
help w/ proftpd config Nefarious Linux - Software 3 04-15-2003 08:50 PM
proftpd config mrozkan Linux - General 3 01-27-2002 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:31 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