ftpd.conf chroot not working

2006-08-24 Thread James Earl

I'm having problems getting the /etc/ftpd.conf chroot command to work.
However, if I append a directory after the username in /etc/ftpchroot
that does work.  It seems like ftpd.conf isn't even getting used.  The
reason I want to use ftpd.conf is it supposidly allows the use of
escape strings such as %u for username.  The machine is running
6.0-RELEASE.

(doesn't work)
ftpd.conf:
chroot all /usr/local/www/apache22/data/%u
ftpchroot:
@client

(does work)
ftpd.conf:
#empty
ftpchroot:
@client /usr/local/www/apache22/data/usersite

James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftpd.conf

2002-10-28 Thread Andrew Stuart
On Sun, 27 Oct 2002 at 11:43:02 +0100, Ms Carlsson wrote:
 I thought the mailinglist was for questions when you can figure it out 
 yourself.
 
 But i see that this mailinglist is just for wannabees who think they can.
 
 Thanks for the help anyway.
 
 

To begin with, if you are going to be 'pissy' no one is going to help
you, so you may as well just go else where, If you really want help try
showing some respect and answer the questions given. We ARE NOT mind
readers, we are volunteers who support an operating system we
use/like/love. After how rude you have been and so disrespectful I dont
know why I am even bothering.. but..

What is it you need a ftpd.conf for, other then that you 'need one'.
What is it your trying to do? are you using the lukemftpd or are you
using the stock ftpd?

Do you have something specific your trying to change with the default
(assuming your using lukemftpd).

looking at man ftpd.conf (once again assuming lukemftpd)

DEFAULTS
 The following defaults are used:

   checkportcmd  all
   classtype chroot CHROOT
   classtype guest  GUEST
   classtype real   REAL
   display   none
   limit all-1 # unlimited connections
   maxtimeoutall7200   # 2 hours
   modifyall
   motd  allmotd
   notifynone
   passive   all
   timeout   all900# 15 minutes
   umask all027
   uploadall
   modifyguest  off
   umask guest  0707

you can put that in a /etc/ftpd.conf and you have all the default
settings, reading that man page will explain the settings and give
you other options.

this is a start, if there is something specific your looking for, you
need to give us more info.


that being said, if you want to be a troll and mouth off more dont
bother, just send it to /dev/null, otherwise there are plenty of people
on this list that are willing to help if they have the info they need to
be able to help you.

-- 
Andrew

Genius, n.:
A chemist who discovers a laundry additive that rhymes with
bright.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: ftpd.conf

2002-10-28 Thread RD
Hi -
 I just stumbled across this message...   
Ask for help dude and give the list time... The list isn't all fbsd
pros...There are lots of peeps that are nooBs too...   

Now for ftpd   ( I don't use that one )
I would go with pure-ftpd and compile it --with-everything since your
new to fbsd...It has tons of options and u can add the switches in
startup command...I run mine virtual daemon mode it has its own
pwd files etc... It don't mess with the fbsd system at all

http://www.pureftpd.org/documentation.shtml

All u gotta do is d/l the tar.gz file
Gunzip -c pure-ftpd-1.0.12.tar.gz | tar xvf -
Change into the dir it makes

./configure --with-everything  
Make
Make install

It’s the best one I have seen for noobies

Just look at these options u have -
--(switches sorted by ##standard switches## lexical order)--

-4  --ipv4only
-a  --trustedgidgid
-A  --chrooteveryone
-b  --brokenclientscompatibility
-B  --daemonize 
-c  --maxclientsnumber  number
-C  --maxclientsperip   number
-d  --verboselog
-D  --displaydotfiles   
-e  --anonymousonly 
-E  --noanonymous   
-f  --syslogfacilityfacility
-F  --fortunesfile  file
-g  --pidfile   path to pid file
-G  --norename
-h  --help  
-H  --dontresolve   
-i  --anonymouscantupload
-I  --maxidletime   time (min)
-j  --createhomedir
-k  --maxdiskusagepct   percentage
-K  --keepallfiles
-l  --login auth or auth:config file
-L  --limitrecursionnumber:number
-m  --maxload   load
-M  --anonymouscancreatedirs
-N  --natmode
-o  --uploadscript
-O  --altlogformat:log file
-p  --passiveportrange  minport:maxport
-P  --forcepassiveipip address
-q  --anonymousratioupload ratio:download ratio
-Q  --userratio upload ratio:download ratio
-r  --autorename
-R  --nochmod
-s  --antiwarez 
-S  --bind  ip address,port
-t  --anonymousbandwidthbandwidth (Kb/s)
-T  --userbandwidth bandwidth (Kb/s) or [up bw]:[down bw]
-u  --minuiduid
-U  --umask mask
-V  --trustedip ip address
-w  --allowuserfxp  
-W  --allowanonymousfxp
-x  --prohibitdotfileswrite 
-X  --prohibitdotfilesread  
-y  --peruserlimits per user max:max anonymous sessions
-z  --allowdotfiles
-Z  --customerproof



--(switches sorted by ##GNU-style long switches## lexical order)--

-W  --allowanonymousfxp
-z  --allowdotfiles
-w  --allowuserfxp  
-O  --altlogformat:log file
-t  --anonymousbandwidthbandwidth (Kb/s)
-M  --anonymouscancreatedirs
-i  --anonymouscantupload
-e  --anonymousonly 
-q  --anonymousratioupload ratio:download ratio
-s  --antiwarez 
-r  --autorename

-S  --bind  ip address,port
-b  --brokenclientscompatibility

-A  --chrooteveryone
-j  --createhomedir
-Z  --customerproof

-B  --daemonize 
-D  --displaydotfiles   
-H  --dontresolve   

-P  --forcepassiveipip address
-F  --fortunesfile  file

-h  --help  

-4  --ipv4only

-K  --keepallfiles

-l  --login auth or auth:config file
-L  --limitrecursionnumber:number

-c  --maxclientsnumber  number
-C  --maxclientsperip   number
-k  --maxdiskusagepct   percentage
-I  --maxidletime   time (min)
-m  --maxload   load
-u  --minuiduid

-N  --natmode
-E  --noanonymous   
-R  --nochmod
-G  --norename

-p  --passiveportrange  minport:maxport
-y  --peruserlimits per user max:max anonymous sessions
-g  --pidfile   path to pid file
-X  --prohibitdotfilesread  
-x  --prohibitdotfileswrite 

-f  --syslogfacilityfacility

-a  --trustedgidgid
-V  --trustedip ip address

-U  --umask mask
-o  --uploadscript
-T  --userbandwidth bandwidth (Kb/s) or [up bw]:[down bw]
-Q  --userratio upload ratio:download ratio

-d  --verboselog

PS - if this is the route u would like to take,  I could walk you
through setting it up in a matter of minutes
My ICQ# 32251187
MSN [EMAIL PROTECTED]

Chill out on list or you'll never get any help from the guru's
L8r
RD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Ms Carlsson
Sent: Sunday, October 27, 2002 5:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: ftpd.conf


I thought the mailinglist was for questions when you can figure it out 
yourself.

But i see that this mailinglist is just for wannabees who think they
can.

Thanks for the help anyway.


 
  i do not have one, why waste your time to answer me if you dont even

  can help me, this is not just a waste of your time it is waste of 
  mine too.
 

Seems like a reasonable question to me.  Asking for more information 
before spouting off is part of solving problems.

  so is here anybody serious here, i need

Re: ftpd.conf

2002-10-27 Thread Ms Carlsson
I thought the mailinglist was for questions when you can figure it out 
yourself.

But i see that this mailinglist is just for wannabees who think they can.

Thanks for the help anyway.



 i do not have one, why waste your time to answer me if you dont even can
 help me, this is not just a waste of your time it is waste of mine too.


Seems like a reasonable question to me.  Asking for more information
before spouting off is part of solving problems.

 so is here anybody serious here, i need a working example of ftpd.conf 
to
 the ftp daemon /usr/libexec/ftpd

So, why don't you write one and not waste everyone else's time
doing it for you...   ;-}

jerry


 thanx


   Hello is here anyone who can send me a ftpd.conf that works in real
 life???
  
   thanx.
  
   Tina
 
 Uhhmmm... whats wrong with yours?


 _
 Hitta billigaste resan på MSN Resor http://www.msn.se/resor/default.asp


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



_
Bli förälskad på MSN Dejting http://www.msn.se/dejting/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftpd.conf

2002-10-26 Thread Ms Carlsson
i do not have one, why waste your time to answer me if you dont even can 
help me, this is not just a waste of your time it is waste of mine too.

so is here anybody serious here, i need a working example of ftpd.conf to 
the ftp daemon /usr/libexec/ftpd

thanx


 Hello is here anyone who can send me a ftpd.conf that works in real
life???

 thanx.

 Tina

Uhhmmm... whats wrong with yours?



_
Hitta billigaste resan på MSN Resor http://www.msn.se/resor/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftpd.conf

2002-10-26 Thread Jerry McAllister
 
 i do not have one, why waste your time to answer me if you dont even can 
 help me, this is not just a waste of your time it is waste of mine too.
 

Seems like a reasonable question to me.  Asking for more information
before spouting off is part of solving problems.

 so is here anybody serious here, i need a working example of ftpd.conf to 
 the ftp daemon /usr/libexec/ftpd

So, why don't you write one and not waste everyone else's time 
doing it for you...   ;-}  

jerry

 
 thanx
 
 
   Hello is here anyone who can send me a ftpd.conf that works in real
 life???
  
   thanx.
  
   Tina
 
 Uhhmmm... whats wrong with yours?
 
 
 _
 Hitta billigaste resan på MSN Resor http://www.msn.se/resor/default.asp
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftpd.conf

2002-10-26 Thread Mikko Työläjärvi
On Sat, 26 Oct 2002, Ms Carlsson wrote:

 i do not have one, why waste your time to answer me if you dont even can
 help me, this is not just a waste of your time it is waste of mine too.

 so is here anybody serious here, i need a working example of ftpd.conf to
 the ftp daemon /usr/libexec/ftpd

Nope, at least not anybody running FreeBSD.  The ftpd.conf file is
used by lukempftd (/usr/libexec/lukemftpd), an alternate ftp daemon
from NetBSD that has been sort-of-but-not-quite imported into FreeBSD.

Configuration of the stock ftpd is described in ftpd(8): it does not
use ftpd.conf.  The lukem version of ftpd is described in lukemftpd(8).

Yes, it is confusing.

  $.02,
  /Mikko


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ftpd.conf

2002-10-25 Thread Ms Carlsson




Hello is here anyone who can send me a ftpd.conf that works in real life???

thanx.

Tina

_
Digitalt till papper med MSN Foto http://photos.msn.se/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftpd.conf

2002-10-25 Thread Ceri Davies
On Fri, Oct 25, 2002 at 06:27:28PM +0200, Pascal Giannakakis wrote:
  Hello is here anyone who can send me a ftpd.conf that works in real
 life???
 
 Uhhmmm... whats wrong with yours?

A possible issue here, is that ftpd.conf appears to be lukemftpd specific,
whilst the ftpd.conf manpage refers to ftpd(8), which is actually *not* what
it's the config file for.

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message