Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!netnews.upenn.edu!msuinfo!sharkey!bnlux0!abrams@.dan.adm.bnl.gov From: abrams@.dan.adm.bnl.gov (The Ancient Programmer) Newsgroups: comp.unix.internals Subject: anonymous ftp ? Message-ID: <2379@bnlux0.bnl.gov> Date: 26 Dec 90 16:20:15 GMT Sender: news@bnlux0.bnl.gov Organization: Brookhaven National Lab, Upton NY Lines: 40 I know that comp.unix.wizards is supposed to be defunct, but I'm not sure where this question belongs otherwise...?.... I wish to set up an anonymous ftp on my Sun, but am having trouble implementing "ls" for user anonymous. I created the user ftp with a home directory /home/amonymous & with subdirectories pub, bin & etc. I then copied /usr/bin/ls into the bin directory and a truncated passwd file and group file into the etc directory, all of this as per the instructions in Nemeth's book "Unix System Administratin Handbook". When I ftp in as anonymous and try to execute ls, I get the following response: 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.199.128.111,1047) (0 bytes). crt0: no /usr/lib/ld.so 226 ASCII Transfer complete. 25 bytes received in 0.02 seconds (1.2 Kbytes/s) If create a ~ftp/usr/lib directory and copy /usr/lib/ls.so to it, "ls" responds with: 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.199.128.111,1049) (0 bytes). crt0: no /dev/zero 226 ASCII Transfer complete. 20 bytes received in 0.02 seconds (0.98 Kbytes/s) I then removed ~ftp/bin altogether and tried "ls" and got: 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.199.128.111,1050) (0 bytes). 226 ASCII Transfer complete. If anyone is still reading this news group, can they tell me what I'm doing wrong here? I'm running SunOS4.1 on a Sun 3/50. Thanks in advance, INTERNET: abrams@bnl.gov |/ | ^ BITNET: abrams@bnlux0.BITNET |\ |__ /-\