chrooted ftpd
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed Apr 23 10:51:03 PDT 2003
On Wed, Apr 23, 2003 at 10:42:30AM -0400, 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
> 3. Insert FTPD_INTERNAL_LS=YES at the bottom of the file
> 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
I guess that is no longer supported with the default ftpd(8).
However, the system provides lukemftpd(8) as an alternative now. That
supports a much enhanced capability to chroot ftp users, compared to
the regular ftpd(8). No recompilation necessary.
I believe lukemftpd(8) is a port of the default ftpd from NetBSD. Not
sure why it hasn't completely replaced the original FreeBSD ftpd yet.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030423/1bf590b8/attachment.bin
More information about the freebsd-questions
mailing list