home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Networking / wu-ftpd-2.4.2b13-MIHS / NOTES < prev    next >
Encoding:
Text File  |  1997-03-03  |  4.1 KB  |  90 lines

  1. This is the NOTES file -- part of the unofficial enhanced version of
  2. WU-FTPD 2.4 maintained by Academ Consulting Services as a public service
  3. to the Internet. Comments about any of this distribution are welcome
  4. to <wu-ftpd-bugs@academ.com>.
  5. -----------------------------------------------------------------------------
  6. It is STRONGLY recommended that you read chapters on running an FTP archive
  7. in the O'Reilly Book "Managing Internet Information Services" by Liu, Peek,
  8. Jones, Buus and Nye (ISBN 1-56592-062-7) for details on configuration of
  9. this ftp server. This distribution has been tailored to match up as closely
  10. as possible with the server documentation in Chapter 5 and 6 of this book.
  11. Any differences are noted in this file.
  12. -----------------------------------------------------------------------------
  13. There are two FAQ (Frequently Asked Questions) posting that you
  14. may wish to consult as well. The first is maintained (at the time of this 
  15. writing) by Perry Rovers and is called " Anonymous FTP: Frequently Asked
  16. Questions (FAQ) List". It is a general introdution to FTP from a novice
  17. perspective. The second is maintained by Christopher Klaus and is called
  18. "Security: Anonymous FTP FAQ" and contains a good overview of setting up
  19. an secure anonymous ftp server (including specific information about
  20. setting up wu-ftpd). All FAQ are posted periodically to the Usenet newsgroup
  21. "news.answers" and are available via anonyous ftp from rtfm.mit.edu
  22. in the /pub/usenet/news.answers directory. Look for the first faq in the
  23. ftp-list directory under the name "faq". Look for the second faq in the 
  24. computer-security directory under the name "anonymous-ftp-faq". For those of
  25. you with browers the URLs are:
  26.  
  27.  ftp://rtfm.mit.edu/pub/usenet/news.answers/ftp-list/faq
  28.  ftp://rtfm.mit.edu/pub/usenet/news.answers/computer-security/anonymous-ftp-faq
  29. ------------------------
  30.  
  31. Differences between "Managing Internet Information Services" Chapter 5 
  32. and Chapter 6 and this distribution are in this section.
  33.  
  34. Section 5.1 says that "build bsd" will build an ftp server for BSDI. This is
  35. no longer true. To build for BSDI/OS, use "./build bdi" instead. There is also
  36. a specific setup for FreeBSD which can be used by entering "./build fbs".
  37.  
  38. Section 5.2 says that the -a option is the default. This is no longer true.
  39. To make use of the ftpacess file, you must provide this option on the
  40. command line. The -A option is now the default. This makes wu-ftpd act more
  41. like the standard ftp damon by default. It also prevents folks from 
  42. accidentally making use of the ftpaccess file provided as an example without
  43. first reviewing the contents of that file.
  44.  
  45. Section 5.5 says that ftp and anonymous are seen as being different names by
  46. the server. This is no longer true.
  47.  
  48. ------------------------
  49.  
  50. Michael Brennen <mbrennen@fni.com> notes that FIXES-2.4-HOBBIT suggests that
  51. the -lskey option should be in LFLAGS. He found that it should be in LIBES.
  52.  
  53. ------------------------
  54.  
  55. How to make wu-ftpd use shadow passwords on a older (a.out) Linux system.
  56.  
  57. [ Note: on ELF Linux systems it is not necessary to link with libshadow.a
  58.   - /usr/include/shadow.h and getspnam() are in the standard libc-5.x.
  59.   You only need to define SHADOW_PASSWORD in config.h.  The same wu-ftpd
  60.   binary should work with both shadow and non-shadow passwords.  The
  61.   change from crypt() to pw_encrypt() is only necessary if you are using
  62.   DOUBLESIZE passwords (not recommended because of a known weakness).
  63.   -- Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl> ]
  64.  
  65. First :
  66.  
  67. - Get the shadow.h from the latest shadow package.
  68. - After building the shadow package, you have a libshadow.a.
  69. - Build wu-ftpd the normal way, so it is configured for Linux.
  70.  
  71. Then :
  72. - Copy shadow.h to the src dir.
  73. - Copy libshadow.a to the support dir.
  74. - Edit src/config.h to say '#define SHADOW_PASSWORD' instead of #undef.
  75. - Edit the LIBES line in src/Makefile to read :
  76.  
  77. LIBES    = -lsupport -lbsd -lshadow
  78.  
  79. And then modify src/ftpd.c in line 1061 to read :
  80.  
  81.         xpasswd = pw_encrypt(passwd, salt);
  82. Finally:
  83. - Rebuild wu-ftpd
  84.  
  85. ------------------------
  86. $Id: NOTES,v 1.7 1997/01/14 22:44:59 sob Exp $
  87.  
  88.  
  89.  
  90.