anonymous ftp ?

The Ancient Programmer abrams at .dan.adm.bnl.gov
Thu Dec 27 03:20:15 AEST 1990


	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 at bnl.gov               |/ |    ^
BITNET:    abrams at bnlux0.BITNET         |\ |__ /-\



More information about the Comp.unix.internals mailing list