View previous topic :: View next topic |
Author |
Message |
Brent Jackson Guest
|
Posted: Thu Apr 25, 2002 1:29 am Post subject: Pure-ftpd setup..... /etc/conf.d/pure-ftpd |
|
|
After emerging pureftp, and adding it to the rc scripts I am told that I need to setup /etc/conf.d/pure-ftp.d first. I see that the pure-ftpd file in /etc/init.d/ uses some variables such as
$SERVER
$MAX_CONN
$MAX_CONN_IP
$DAEMON
$DISK_FULL
$USE_NAT
$AUTH
$MIS_OTHER
It seems obvious to me that these variables are set in the /etc/conf.d/pure-ftp file, but I am unsure what other stuff needs to go into that file. I am not asking anyone to hold my hand exactly, just point me to some more detailed information.
Thanks!
Brent |
|
Back to top |
|
|
Brent Jackson Guest
|
Posted: Thu Apr 25, 2002 5:55 am Post subject: More questions.... Help please |
|
|
I have created my /etc/conf.d/pure-ftpd file
# Config file for /etc/init.d/pure-ftpd
SERVER="-h /var/run/pre-ftpd.pid"
MAX_CONN="-c 5"
MAX_CONN_IP="-c 3"
DAEMON="-D"
DISK_FULL="-k 95"
USE_NAT="-H"
AUTH="-E"
MISC_OTHER="--allowuserfxp --prohibitdotfileswrite --brokenclientcompatibily -w"
And still on boot I am told at boot
* You need to setup /etc/conf.d/pure-ftpd first
Ok, I really don't know what to do next.... I read the other files in the conf.d directory and
followed their file format (at least I think) . So what am I doing wrong?
Anyone?
Thanks
Brent |
|
Back to top |
|
|
Guest
|
Posted: Thu Apr 25, 2002 7:33 am Post subject: |
|
|
In the beginning of the pure-ftpd config file you have this line:
Code: | #IS_CONFIGURED="yes" |
You need to uncomment that line |
|
Back to top |
|
|
Brent Jackson n00b
Joined: 25 Apr 2002 Posts: 6 Location: Boone, NC
|
Posted: Thu Apr 25, 2002 4:51 pm Post subject: Boy I feel stupid... |
|
|
I haven't tried your suggestion yet, but I am about to. If that is all I have to do I feel really stupid
Thanks man
BRent |
|
Back to top |
|
|
Brent Jackson n00b
Joined: 25 Apr 2002 Posts: 6 Location: Boone, NC
|
Posted: Thu Apr 25, 2002 8:15 pm Post subject: Got it working, it was rather easy.... once I figured it out |
|
|
Here is the config file I used in case anyone wants it. Now... time to try to tunnel ftp through ssh... hum
##############################
# Config file for /etc/init.d/pure-ftpd #
##############################
IS_CONFIGURED="yes"
SERVER="-g /var/run/pure-ftpd.pid"
MAX_CONN="-c 5"
MAX_CONN_IP="-C 3"
DAEMON="-D -B"
DISK_FULL="-k 95"
USE_NAT="-H" #has nothing to do with nat, but -H means don't resolve host name
AUTH="-E"
MISC_OTHER="--allowuserfxp --prohibitdotfileswrite -w" |
|
Back to top |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
Posted: Thu Apr 25, 2002 8:38 pm Post subject: |
|
|
It bears mentioning that SSH has the sftp subsystem enabled by default. :p |
|
Back to top |
|
|
|