-----BEGIN PGP SIGNED MESSAGE----- on Wed, 25 Aug 1999, Shao Zhang wrote: > Hi, > I am having some trouble to chroot all the users when they ftp. > > Using the standard in.ftpd from netstd package, I created a file > /etc/ftpchroot with one line: shao. > > But when I ftp as shao, I can log in properly, but "ls" shows up > nothing. > > I then tried to use wu-ftpd-academ. Changed passwd entry to > shao:x:1000:1000:Shao Zhang,,,:/home/shao/./:/bin/bash > > add an entry to /etc/wu-ftpd-academ/ftpaccess: > guestgroup 1000 > > change the entry in /etc/inetd.conf to something like > /usr/sbin/ftpd -a which will enable ftpaccess for wu-ftp > > With this config, user can still chdir to anywhere. If I change > it to guestgroup shao, then "ls" shows up nothing again. > > Here is what's happening: > > 230 User shao logged in. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> ls > 200 PORT command successful. > 150 Opening ASCII mode data connection for '/bin/ls'. > 226 Transfer complete. > ftp> > > Can anyone please help me? I have got this working before but > now I forgot. > > Thanks. > > Shao. > > -- > ____________________________________________________________________________ > Shao Zhang - Running Debian 2.1 ___ _ _____ > Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ > University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | > Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | > Email: [EMAIL PROTECTED] > |___/ > _____________________________________________________________________________ > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
hiho, some times ago i had the same prob. i "solved" it using proftpd :) works great and has built-in anonymous access. really easy. ciao -ap ___________________________________________________________________ Andreas Piesk [EMAIL PROTECTED] IT Manager BFW GmbH Leipzig pgp fingerprint: 23CB A7E2 2E53 373C DBCD 8EFC 7777 61C1 ___________________________________________________________________ What goes up, must come down. Ask any system administrator. ___________________________________________________________________ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: J2AXX11Pj/gPHSmhGO9HLvaRMyC4fAvS iQEVAwUBN8S8sGFk4I9f3qPhAQFKugf/b2+5d3EdPwFhaOpqkPUVKEv4gb7LayHo MGvabkXqoHCVTzstIJdy55XmoTmyR9B3rYc2m8GFzNWhIozxs76AOLAqyooigq86 j2swrTkvXULl+sjD7QNPhyURTUzVQDPlU5LWeW+HHPWHPP7y+T3yP4CJVkGBnjRo r3Ht2mAHdOxmYYrvyAGEUtmhb0usnqR9UegzQ0fZqx5CIwaR4vbuVAMsJr0uB9np zzMCwALZVRq5CfJJlOjTKd0F93ZMqISgYewBhZSEh9hguS8t18MXaoXo1z16B1pA cWubfghJ5bIiQWAJ7P/6+aUWwpOcK6ywyQmo9Shl3Hj5DYilfEpcsg== =j4IV -----END PGP SIGNATURE-----