Subject: Re: chrooted ftpd can't find /bin/ls
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Grey Wolf <greywolf@siteROCK.com>
List: port-i386
Date: 03/08/2000 11:52:22
On Wed, 8 Mar 2000, Jukka Marin wrote:
# Hello,
#
# I wanted to keep ftp users in their home directories, so I enabled chroot
# in /etc/ftpchroot. Nice - but now "dir" no longer works in ftp because
# /bin/ls can't be found in the chrooted environment.
#
# Is there an easy solution to this problem? Creating hardlinks in 20,000+
# home directories doesn't sound like an ideal solution.. ;) :(
Would it be worthwhile to build the guts of the dir command into ftpd?
It would more or less make the requirement for /bin/ls obsolete.
...or has this already been done?
# -jm
--*greywolf;
--
Have A Nice Day. (This may be pronounced differently in New York or Boston.)