home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / sysv386 / 12343 < prev    next >
Encoding:
Text File  |  1992-07-23  |  3.6 KB  |  99 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!uunet.ca!shark!mcr
  3. From: mcr@csi.on.ca (Michael Richardson)
  4. Subject: Setting up Anonymous FTP under SVR4 (Consensys 1.3)
  5. Message-ID: <1992Jul23.171156.3290@csi.on.ca>
  6. Summary: what am I missing?
  7. Sender: usenet@csi.on.ca (0000-news system owner(0000))
  8. Nntp-Posting-Host: angel.csi.on.ca
  9. Organization: Carp Systems International, Kanata, ON
  10. Date: Thu, 23 Jul 1992 17:11:56 GMT
  11. Lines: 86
  12.  
  13.   I am trying to setup anonymous FTP into a Consensys SVR4 box.
  14.   I know basically what I need to do, and the ``Unix System V/386
  15. Release 4 Network Users' and Administrators Guide'' confirmed it.
  16. (Although I wouldn't have thought of /dev/tcp being a BSD person)
  17.   However, I get no output from ls. I tried adding /lib/libc.so.1 and
  18. also /lib/libc_s. I just tried putting /lib/ld.so.1 in too...
  19.   I looked at etc/netconfig. /etc/netconfig has:
  20.  
  21. ticlts     tpi_clts       v     loopback        -       /dev/ticlts     /usr/lib/straddr.so
  22. ticots     tpi_cots       v     loopback        -       /dev/ticots     /usr/lib/straddr.so
  23. ticotsord  tpi_cots_ord   v     loopback        -       /dev/ticotsord  /usr/lib/straddr.so
  24. tcp     tpi_cots_ord    v       inet    tcp     /dev/tcp        /usr/lib/tcpip.so,/usr/lib/resolv.so 
  25. udp     tpi_clts        v       inet    udp     /dev/udp        /usr/lib/tcpip.so,/usr/lib/resolv.so 
  26. rawip   tpi_raw         -       inet    -       /dev/rawip      /usr/lib/tcpip.so,/usr/lib/resolv.so 
  27. icmp    tpi_raw         -       inet    icmp    /dev/icmp       /usr/lib/tcpip.so,/usr/lib/resolv.so 
  28.  
  29.   I pared this down to:
  30. tcp     tpi_cots_ord    v       inet    tcp     /dev/tcp        /usr/lib/tcpip.so
  31.  
  32.   And made a copy of /usr/lib/tcpip.so.
  33.  
  34.   Do I need the whole list of protocols there? I'll probably try that
  35. in a minute. The less the better I figure. ls-lR follows:
  36.  
  37. % cd /usr/spool/ftppub
  38. % ls -lR
  39. total 12
  40. dr-xr-xr-x   2 root     other        512 Jul 22 16:29 bin
  41. dr-xr-xr-x   2 root     other        512 Jul 22 16:24 dev
  42. dr-xr-xr-x   2 root     other        512 Jul 22 16:11 etc
  43. dr-xr-xr-x   2 root     other        512 Jul 23 12:59 lib
  44. drwxrwxrwx   2 root     other        512 Jul 23 12:43 pub
  45. d--x--x--x   4 root     other        512 Jul 23 13:04 usr
  46.  
  47. ./bin:
  48. total 26
  49. ---x--x--x   2 root     other      12304 Jul 22 16:11 ls
  50.  
  51. ./dev:
  52. total 0
  53. crw-rw-rw-   1 root     other      9, 32 Jul 22 16:08 tcp
  54. crw-rw-rw-   1 root     other      2,  4 Jul 22 16:24 zero
  55.  
  56. ./etc:
  57. total 6
  58. -r--r--r--   1 root     other         23 Jul 22 16:12 group
  59. -r--r--r--   1 root     other        200 Jul 23 13:05 netconfig
  60. -r--r--r--   1 root     other        133 Jul 22 16:01 passwd
  61.  
  62. ./lib:
  63. total 664
  64. -r-xr-xr-x   1 root     other      94500 Jul 23 12:59 ld.so.1
  65. -r-xr-xr-x   1 root     other     181312 Jul 22 16:21 libc.so.1
  66. -r-xr-xr-x   1 root     other      48042 Jul 22 16:20 libc_s
  67.  
  68. ./pub:
  69. total 0
  70.  
  71. ./usr:
  72. total 4
  73. d--x--x--x   2 root     other        512 Jul 23 13:02 bin
  74. d--x--x--x   2 root     other        512 Jul 23 13:05 lib
  75.  
  76. ./usr/bin:
  77. total 26
  78. ---x--x--x   2 root     other      12304 Jul 22 16:11 ls
  79.  
  80. ./usr/lib:
  81. total 28
  82. -r--r--r--   1 root     other      13520 Jul 23 13:05 tcpip.so
  83.  
  84.   Oh -- I've tried opening the permissions all up, but that didn't
  85. help either.
  86.   I just get things like this for every directory:
  87.  
  88. ftp> dir
  89. 200 PORT command successful.
  90. 150 ASCII data connection for /bin/ls (192.1.2.40,1166) (0 bytes).
  91. 226 ASCII Transfer complete.
  92. ftp> quit
  93.  
  94.   I can put and get just fine. Maybe this is a security feature :-)
  95.  
  96. -- 
  97.   :!mcr!:        | #include <ansi-std/disclaimer.h>  +1 613 592 5780
  98. Michael Richardson  | WORK: mcr@csi.on.ca  HOME: mcr@sandelman.ocunix.on.ca
  99.