chrooted ftpd

chrooted ftpd

Post by MokaMik » Sat, 01 Aug 1998 04:00:00


I'd like to create a chrooted environment for users came in with ftp.
I've got wu-ftpd and Solaris 2.6

My problem is that the ls command is missing.
Can anyone tell me how to build a statically linked ls ?

Or should I copy /bin/ls, /usr/lib/ and, etc to the
chrooted area ?
If so what to do with /dev/tcp and /dev/zero ?
shoul dI make a symlink to them or sholud I do a
cp /dev/tcp ~ftp/dev.....?

Please help.

I tried to make a statically built ls from the GNU fileutils-3.16
But when I logged is from my Linux box, I could not see anything whwn I
did an ls
But from Vindoze's DOS prompt I could......



1. chroot ftpd for regular (non-anon) users?


I need to setup a password-protected account that will be used for ftp
transfers only (AIX 4.3.3).  I plan to restrict the account with no
interactive login permissions, and I need to ensure that it will only have
access to a subtree of the filesystem defined by me.

The stock ftpd will handle a chroot for the ftp and anonymous users, but
that is not acceptable in my case because I need password controlled access
to the subtree.

Is there a way to create a "normal" user account, and have it only be able
to access a defined subtree when logged in via ftp?

Ryan Koski

2. AIX 4.3.3 fee-based service extension

3. chroot, ftpd and telnetd: security hole?

4. HP 895c printer setup

5. chrooted ftpd

6. SuSE 7.1: Error messages about usb

7. the Ultimate SCO Recovery challenge

8. How to install wu.ftpd or in.ftpd with chroot?

9. FTPD & chroot

10. ftpd in a chrooted environment ?

11. start ftpd with chroot()

12. ftpd and chroot question