Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 16:23:18 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        freebsd-questions@freebsd.org
Subject:   /etc/ftpaccess, chroot, and `guest-root' directive.
Message-ID:  <39549.1009326198@monkeys.com>

next in thread | raw e-mail | index | archive | help


I put the following line into my /etc/ftpaccess file:

guest-root ~

but it did not seem to have the desired effect.  It fact, it
did not seem to have any effect at all.

How come?

My hope was that this directive, when placed into my /etc/ftpaccess
file, would cause each ftp login session to be chroot'd to the home
directory of the specific user who had just logged in, but this
doesn't seem to be happening.  Why not?

From the ftpd man page:

    Ftpd interprets file names according to  the  ``globbing''
    conventions  used by csh(1)...

Ok, so why isn't it doing the ``globbing'' in the case of the
guest-root directive as expected?

Anyway, if there is some different way of achieving the desired effect,
I would love to be educated about it.  I think that it's clear what I
want to do... I just want to insure that each and every ftp user is
well and truly isolated from all other ftp users (and from the rest
of the system).

That's not too much to ask, is it?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39549.1009326198>