* sdf dsg <[EMAIL PROTECTED]> [000331 08:33] wrote:
> after i have looked arround i cant find where to restrict ftp users to their 
> home dir only, pleas help me!!!!!

           5.   If the user name appears in the file /etc/ftpchroot, or the
                user is a member of a group with a group entry in this file,
                i.e. one prefixed with `@', the session's root will be changed
                to the user's login directory by chroot(2) as for an
                ``anonymous'' or ``ftp'' account (see next item).  This facil-
                ity may also be triggered by enabling the boolean "ftp-chroot"
                capability in login.conf(5).  However, the user must still
                supply a password.  This feature is intended as a compromise
                between a fully anonymous account and a fully privileged ac-
                count.  The account should also be set up as for an anonymous
                account.

it's in the ftpd manpage.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child, I keep it in a jar on my desk."


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

Reply via email to