LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2003, 03:44 AM   #1
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Rep: Reputation: 30
FTP Server


I want to be able to run an FTP server on my slack box. What program is the best to use and if so a good site to help set it up
 
Old 10-29-2003, 04:34 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
pure-ftpd
though it has a lot of command line switches, and ./configure options, but it's worth it. If i'm not mistaken, there are some graphical frontends for pure-ftpd.

(note that all settings are supplied at the command line, even the listening port. this was the part that confused me first)


slackware already has proftpd installed, but I never used it, because someone advised me pure-ftpd.. but I'm not sure how secure proftpd is.

Last edited by yapp; 10-29-2003 at 04:36 AM.
 
Old 10-29-2003, 06:47 AM   #3
mechanicalg0d
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.2
Posts: 30

Rep: Reputation: 15
im gona have to give this pure-ftpd a try. looks good.
 
Old 10-30-2003, 03:09 AM   #4
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
thank you will look into it
 
Old 11-06-2003, 02:45 AM   #5
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
As I am reading it is stating that you have to run as root. Am I missing reading this? If not isn't that dangerous to do?
 
Old 11-06-2003, 06:15 AM   #6
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
I'm a bit confused by this too, but I think I'll have to do some search too.

All servers have to start as root by default, because they need these permissions to create an listing socket below port 1024; ie. the socket that listens on port 21.

A lot of servers however, restrict themselves when they can. For example, the apache server has one deamon to accept incoming corrections. It runs as root. The child processes run under a different user, for example "httpd", but this depends on your httpd.conf settings. The command ps auxf | grep httpd reveals this:
Code:
$ ps auxf | grep httpd
root      1184  0.0  0.9 74940 4960 ?        S    07:01   0:00 /usr/sbin/httpd
httpd     1188  0.0  1.9 81248 9884 ?        S    07:01   0:01  \_ /usr/sbin/httpd
httpd     1189  0.0  1.9 81276 9896 ?        S    07:01   0:02  \_ /usr/sbin/httpd
httpd     1190  0.0  1.9 81568 10156 ?       S    07:01   0:02  \_ /usr/sbin/httpd
httpd     1191  0.0  1.9 81348 9964 ?        S    07:01   0:02  \_ /usr/sbin/httpd
httpd     1192  0.0  2.0 81832 10476 ?       S    07:01   0:01  \_ /usr/sbin/httpd
httpd     1628  0.1  2.0 81928 10560 ?       S    11:49   0:03  \_ /usr/sbin/httpd
httpd     1635  0.1  1.9 81484 10104 ?       S    11:49   0:02  \_ /usr/sbin/httpd
I'm just not sure when pure-ftpd restrict itselves, I hope this happens when you initiate a file tranfer. A quick study showed me that it's children kept running as root. ..or I've missed something in the configuration.

Last edited by yapp; 11-06-2003 at 06:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 06:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
How do I set my FTP server to accept passive FTP? imsam Linux - Newbie 3 12-12-2004 07:22 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration