Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 09:43:13 -0500 (EST)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        andy <andy@faust.moldsat.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: wu-ftpd VR13
Message-ID:  <Pine.OSF.4.05.9902160940160.23938-100000@jaguar.ir.miami.edu>
In-Reply-To: <Pine.BSF.3.96.990216120159.11281B-100000@faust.moldsat.md>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy, this is documented in ftpaccess(5).  Basically, you need to change
your passwd entry for each user to look like this for their home
directory:

/home/ftpuser/./<directory to cd to>

/home/ftpuser will be the new root, and then ftpd will cd to the directory
component after the ./.  If you omit the cd component, the root will be
their home directory, and that's where they'll sit after they login.  man
ftpaccess will definitely tell you more.

Joe Clarke

On Tue, 16 Feb 1999, andy wrote:

> 
> hi there!
> 
> how could I get my subj. to chroot users into their home dir?
> 
> I've created /etc/ftpchroot
> the content being like
> 
> @users
> joe
> foo
> 
> 
> but it doesn't chroot them :-(
> 
> 
> catchya later,
> andy                
>                      Kishington is real. The rest is done with mirrors.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.OSF.4.05.9902160940160.23938-100000>