Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 08:34:23 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        Brent Bailey <misterb@bmyster.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: chroot stockftpd  help ??
Message-ID:  <20030424083051.P28361-100000@hewey.af.speednet.com.au>
In-Reply-To: <1272.66.63.99.171.1051103226.squirrel@bmyster.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@speednet.com.au

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





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