Re: [newbie] Enabling FTP

2004-06-25 Thread Mark Ayares
How do I configure my MDK10 box to allow others FTP access?  Is FTP part 
of the inetd service?  When ever I try to ftp from another box I get a 
connection refused reply.

Mark

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Enabling FTP

2004-06-25 Thread Raffaele BELARDI
Mark Ayares wrote:
 How do I configure my MDK10 box to allow others FTP access?  Is FTP part
 of the inetd service?  When ever I try to ftp from another box I get a
 connection refused reply.
I'll give you a command-line answer, I'm sure there are GUIs to do the 
same...

inetd is not used anymore, it has been super seeded by xinetd. The ftp 
server (for example proftpd, but there are others) is not normally 
installed by default.

1. install proftpd package
2. edit /etc/proftpd.conf and set 'Server type' to 'inetd'
3. edit /etc/xinetd.d/proftpd-xinetd and set 'disable' to 'no'
4. restart xinetd (not sure it is necessary)
You should now be able to ftp to your box and login with your 
username/password. I have also defined a 'guest' account with its own 
directory to share files with remote sites.

If you have a firewall running, you also need to open the ftp server 
port. For Shorewall, it should be sufficient to add something like:

# ftp server
ACCEPT  net fw  tcp ftp
in the /etc/shorewall/rules file.
raffaele


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com