Re: [newbie] proftpd question

2002-02-12 Thread Gerald Waugh

On Tue, 12 Feb 2002, Eric Estes -=RCN Mail=- wrote:
 %_I have set up proftpd to allow a user by the name anonymous to login and
 download files. They seem to be able to browse my other directories and
 download from them.
 
 Is there a way to make the user anonymous only able to view their home
 directory and download from that alone?

DefaultRoot /ftp/ftp.foo1.com

--
Gerald Waugh



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



Re: [newbie] proftpd question

2002-02-12 Thread Miark

Mithrilhall,

That somehow seems contradictory. If users are to
be sent to their home directory, then they need to
long in as themselves, no?

I would think that you'd want anonymous logins to
be sent to /pub or whatever it is nowadays. Maybe
I'm wrong.

Miark



- Original Message - 
From: Eric Estes -=RCN Mail=- [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Monday, February 11, 2002 11:40 PM
Subject: [newbie] proftpd question


 I have set up proftpd to allow a user by the name anonymous to login and
 download files. They seem to be able to browse my other directories and
 download from them.
 
 Is there a way to make the user anonymous only able to view their home
 directory and download from that alone?
 
 
 Thanks,
 Mithrilhall
 
 
 
 





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




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



Re: [newbie] proftpd question

2002-02-12 Thread Anuerin G. Diaz

On Mon, 11 Feb 2002 22:40:18 -0800
Eric Estes -=RCN Mail=- [EMAIL PROTECTED] revealed these words to me:

 I have set up proftpd to allow a user by the name anonymous to login and
 download files. They seem to be able to browse my other directories and
 download from them.
 
 Is there a way to make the user anonymous only able to view their home
 directory and download from that alone?
 
 
 Thanks,
 Mithrilhall
 
 

edit your /etc/proftpd.conf and add the following lines at the bottom (or uncomment 
this one if you have it)

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
# 
#DefaultRoot /home/foo foo  

DefaultRoot ~

ciao!
-- 

Programming, an artform that fights back.

=
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City

Tel# 638-3070 loc. 72
Fax# 638-3079
=




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



RE: [newbie] proftpd question

2002-02-12 Thread Mithrilhall2000

Maybe I sent the wrong message. When the user anonymous logs in he is sent
to the proper directory but they are able to browse other users home
directories and are capable of downloading from them.

Eric

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Miark
Sent: February 12, 2002 9:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] proftpd question


Mithrilhall,

That somehow seems contradictory. If users are to
be sent to their home directory, then they need to
long in as themselves, no?

I would think that you'd want anonymous logins to
be sent to /pub or whatever it is nowadays. Maybe
I'm wrong.

Miark



- Original Message -
From: Eric Estes -=RCN Mail=- [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Monday, February 11, 2002 11:40 PM
Subject: [newbie] proftpd question


 I have set up proftpd to allow a user by the name anonymous to login and
 download files. They seem to be able to browse my other directories and
 download from them.

 Is there a way to make the user anonymous only able to view their home
 directory and download from that alone?


 Thanks,
 Mithrilhall










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






_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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



Re: [newbie] proftpd question

2002-02-12 Thread Gerald Waugh

On Tuesday 12 February 2002 08:09 pm, Mithrilhall2000 wrote:
 Maybe I sent the wrong message. When the user anonymous logs in he is
 sent to the proper directory but they are able to browse other users home
 directories and are capable of downloading from them.

You must use a DirectoryRoot directive
this directive chroots the user to a jail

Check out the following URL
http://proftpd.org/docs/complex-virtual.conf
look at the anonymous configurations


--
Gerald Waugh



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



Re: [newbie] proftpd question

2002-02-11 Thread Chris Howe

I Know ncftpd allows for vitual users using the ncftpd_passwd command but
i'm not sure if proftp allows this as well.

Socratez

- Original Message -
From: Eric Estes -=RCN Mail=- [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 2:40 AM
Subject: [newbie] proftpd question


 I have set up proftpd to allow a user by the name anonymous to login and
 download files. They seem to be able to browse my other directories and
 download from them.

 Is there a way to make the user anonymous only able to view their home
 directory and download from that alone?


 Thanks,
 Mithrilhall










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





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



Re: [newbie] proftpd question

2002-01-17 Thread Gerald Waugh

On Wed, 16 Jan 2002, Todd Slater wrote:
snip
 Now I'm running into trouble starting proftpd. I get the error:
 
 Fatal: unable to determine IP address of 'SLATER.columbus.rr.com'.
 
 Looking at the faqs at proftpd.org, I see:
 
 The hosting machine has a poorly configured hostname setup to the point where 
 the resolver library cannot determine the IP from the name. Solutions 
 include, fixing the DNS for the domain, fixing the hostname, fixing the 
 /etc/hosts file. Which one works for you will largely depend on your OS and 
 exactly what is wrong.
 

There is no 'A' record for SLATER.columbus.rr.com
I can't find it either,
so, have a record put in the columbus.rr.com zone file for SLATER

--
Gerald Waugh
Registered Linux User 255245
register at http://counter.li.org



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