>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.