Subject: chroot does not work

From: [email-masked] (Sylvain Juteau)
Date: Thu, 12 Oct 1995 19:57:29 -0400

Hi, thanks from your help I solved the problem with xferlog :-)

Now I have another one:

I want to give restricted access to the user guest1

Here is how it looks on the /etc/passwd file:
guest1:password:1157:100:Guest Account:/home/ftp/pub//./guest1:/etc/ftponly

I wrote down "/etc/ftponly" in my /etc/shells

The problem is that when I do a ftp with guest1, it lists the full root:
/home/ftp/pub/guest1.  But, if the chroot would work, I would see /guest1
right?

Do I have to add something in my /etc/group file?  Do I have to add
something in my ftpaccess file?

I followed the instruction from the previous message in this mailing-list
from "Darci Chapman <[email-masked]>" where the subject was
"Re: Help! Is something broken?"

Thanks Darci, at least I am more advanced than before!

Can someone help me?

A votre service

*****************************************************************
 Sylvain Juteau             Lien Internet du Nord-Ouest
 1717 3 ieme avenue         (L.I.N.O.)Inc.   (President)
 Val-d'Or (Qc)              Premier fournisseur Internet en
 J9P 1W3                    Abitibi-Temiscamingue
 819-874-5665               Visitez notre page web:
 e-mail:[email-masked]    "http://lino.com"
 Tel: 819-874-5665
*****************************************************************

---

From: [email-masked] (Dan Krause)
Date: Thu, 12 Oct 1995 19:05:01 -0500

The unix group that guest1 is a member of needs to have an entry in the
ftpaccess file like:

guestgroup	ftpguests

(this works if /etc/group has a ftpguests entry)

It is being treated as a guest user that causes the ftpd to perform chroot().