home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10583 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.3 KB

  1. Path: sparky!uunet!usc!nic.csu.net!gd!oleg
  2. Newsgroups: comp.sys.sun.admin
  3. Subject: Re: Problems with wuarchive ftpd
  4. Message-ID: <1993Jan21.041648.3894@nic.csu.net>
  5. From: oleg@gd.       (Oleg Kibirev)
  6. Date: 21 Jan 93 04:16:45 PST
  7. References: <1993Jan15.130236.3772@infodev.cam.ac.uk> <chris.727473263@wuarchive.wustl.edu>
  8. Organization: Computer Science Departement of California State University in Fresno
  9. Keywords: ftpd, in.ftpd
  10. Nntp-Posting-Host: gd.cs.csufresno.edu
  11. Lines: 44
  12.  
  13. In article <chris.727473263@wuarchive.wustl.edu> chris@wupost.wustl.edu (Chris Myers) writes:
  14. >gdc11@cus.cam.ac.uk (G.D. Carver) writes:
  15. >
  16. >>I've just installed the wuarchive.wustl.edu version of the Sun ftpd.
  17. >>It's working fine apart from the fact that the -l option, to log anon (or any)
  18. >>ftpd sessions doesn't appear to be working. I get nothing logged to
  19. >>the /var/log/syslog file. Can anyone help me out?
  20. >>
  21. >>My /etc/inetd.conf file has this entry:
  22. >>ftp   stream   tcp   nowait   root   /usr/local/etc/ftpd    ftpd -l -a
  23. >>
  24. >>I remembered to send inetd a HUP to get it to read the new inetd.conf.
  25. >>The access file is being used.
  26. >>
  27. >>Any ideas?
  28. >
  29. >It's a bug in SunOS.  The short summary is that syslog, which is used
  30. >to log commands and such by the ftpd, breaks after a chroot() call.
  31. >chroot() is the function used to set up the anonymous FTP security such
  32. >that only files in the anonymous FTP hierarchy can be accessed.
  33. >
  34. >There is no fix available from Sun.  A workaround is to replace the
  35. >standard syslog() with one that uses TCP (rather than UNIX domain
  36. >sockets) to contact the syslogd.  I will be happy to mail this to
  37. >people on request.  Please send E-MAIL to chris@wugate.wustl.edu if
  38. >you want the TCP syslog code (this means that if you request a copy
  39. >via news I will ignore you, mainly because I don't normally read this
  40. >newsgroup).
  41. >
  42.  
  43. Well, unless you can put /dev directory and ~ftp on the same filesystem.
  44. Than making a hard link to /dev/log in ~ftp/dev/log should work fine.
  45.  
  46. Oleg
  47.  
  48. >Chris Myers
  49. >wuarchive.wustl.edu Archive Maintainer
  50. >-- 
  51. >Chris Myers                                Internet: chris@wugate.wustl.edu
  52. >Software Engineer                           UUCP: ...!uunet!wuarchive!chris
  53. >Office of the Network Coordinator                BITNET: chris@wunet.bitnet
  54. >Washington University in Saint Louis                 Phone: +1 314 935 7390
  55.  
  56.  
  57.