chroot stockftpd help ??

Andy Farkas andyf at speednet.com.au
Wed Apr 23 15:34:43 PDT 2003


On Wed, 23 Apr 2003, Brent Bailey wrote:

> Hello,
> Im using FBSD 4.8 and im trying to chroot stock ftpd ....something that i
> have done on many other prior versions of FBSD by doing:
> 1. Kill the inetd process
> 2. vi /etc/defaults/make.conf

Don't do that. Edit /etc/make.conf instead.

> 3. Insert  FTPD_INTERNAL_LS=YES at the bottom of the file

This is not needed anymore, its the default.

> 4. cd /usr/src/libexec/ftpd
> 5. make clean    <---works
> 6. make all      <--- it fails here
> 7. make install
>
> but for some reason  i get this error..
>
> "make: don't know how to make ls.c. Stop"
>
>
> have things changed in 4.8 or the instructions for chrooting stock ftpd
> changed ???  please help as i have many users that need this ability and i
> dont want them just wandering around in other directories
> Any and all help is very appreciated
> thank you
> Brent
>
> FBSD since 3.3
>

"man ftpd" explains how to chroot users.

--

 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/





More information about the freebsd-questions mailing list