FTP Server
I'm running Slackware 10.2, no GUI and was wondering how to setup an FTP server that starts automatically upon boot. Thanks!
|
First you need to have an FTP server installed. 10.2 should come with both ProFTPd and vsftp. Whichever one you use is up to you, but Pat chose to include vsftp after ProFTPd was lax in addressing a serious security issue. It is still included in Slackware for backwards compatibility reasons, but vsftp is now the default and preferred server (and arguably is of higher quality in the first place).
After you have installed one of those daemons (which are located on the first CD of the installation) you would need to open up /etc/inetd.conf and uncomment the line that corresponds to the server you have chosen. The two lines will look like this: Code:
# Very Secure File Transfer Protocol (FTP) server. Code:
# Very Secure File Transfer Protocol (FTP) server. |
vsftp worked perfectly. Thanks for the help!
|
since you guys bugged me here,
im looking into switching from proftpd to vsftpd... i mean you did say vsftpd is the future eh? what are ptoftpd's shortcomings? i went ahead and read the manual of vsftpd.conf while i now know how to customize it to my liking, there is a few things i didn't come across in there. i have a dynamic ip and thus in proftpd i had to use 'masquerade address'... additionally, since that was not enough, i recompiled proftpd with dynmasq module so that it would 're-read' the current ip outside my home network every so often. is there a similar feature in vsftpd? and also, how do i 'create' an ftp tree?. with proftpd you have the <Anonymous ~ftp> <Directory /incoming> etcetc directives that allow you create an otherwise non existent in the file system tree, for the ftp sessions and fully customise its dir/file read/write/delete properties... how do you do that in vsftpd? cause i only saw global read/write/delete etc switches.... thank you |
another FTP server to consider is JSCAPE Secure FTP Server
http://www.jscape.com/secureftpserver/ free community edition has support for FTP/S and a cross-platform Java based remote admin tool. Instructions are also available on using an init.d script file for automatic startup. |
All times are GMT -5. The time now is 09:02 PM. |