📄 00000039.htm
字号:
anything, check first that you have the latest version. <BR> <BR> 2. What are the VR patches for wu-ftpd ? <BR> <BR> The VR-series offers a number of enhancements and bug fixes <BR> not available in the base beta-18 version. <BR> <BR> Available from : <URL:<A HREF="ftp://ftp.vr.net/pub/wu-ftpd/>">ftp://ftp.vr.net/pub/wu-ftpd/></A> <BR> <BR> 3. What is BeroFTPD ? <BR> <BR> BeroFTPD is a derivative of wu-ftpd with extra functionality <BR> for virtual hosts. Patches from the VR versions are included. <BR> <BR> Available from: <BR> <URL:<A HREF="ftp://beroftpd.unix.eu.org/pub/BeroFTPD/>">ftp://beroftpd.unix.eu.org/pub/BeroFTPD/></A> <BR> <<A HREF="ftp://ftp.croftj.net/usr/bero/BeroFTPD/>">ftp://ftp.croftj.net/usr/bero/BeroFTPD/></A> <BR> <<A HREF="ftp://ftp.sunet.se/pub/nir/ftp/servers/BeroFTPD/>">ftp://ftp.sunet.se/pub/nir/ftp/servers/BeroFTPD/></A> <BR> <<A HREF="ftp://sunsite.cnlab-switch.ch/mirror/BeroFTPD/>">ftp://sunsite.cnlab-switch.ch/mirror/BeroFTPD/></A> <BR> 5. Compiling the wu-ftpd <BR> <BR> In general, editing src/pathnames.h and typing build arch <BR> should be enough. <BR> <BR> 1. cc complains about strunames, typenames, modenames, .. being <BR> undeclared. <BR> <BR> This error is fully explained in the INSTALL/INSTALL.orig <BR> file in wu-ftpd package. A few relevant lines : <BR> <BR>If cc complains about strunames, typenames, modenames, ... being undefined <BR>you need to install support/ftp.h as /usr/include/arpa/ftp.h (always make <BR>a backup of the old ftp.h just in case!) and do the build again. The new <BR>ftp.h should be a compatible superset of your existing ftp.h, so you <BR>shouldn't have problems with this replacement. <BR> <BR> 2. I don't have yacc <BR> <BR> Replace yacc with bison -y in the Makefile. <BR> <BR> 3. wu-ftpd doesn't 'see' that users are in multiple groups. <BR> <BR> This is fixed in the beta versions. <BR> <BR> 4. I get "conflicting types for `realpath'" <BR> <BR> This is a bug in your unistd.h. Add the following to the end <BR> of the config.xxx file used for your system: <BR> <BR>#define realpath realpath_on_steroids /* hack to work around unistd.h */ <BR> <BR> 5. wu-ftpd doesn't use the shadow passwords on my Linux machine. <BR> <BR> First try if compiling it normally produces a working ftpd <BR> with shadow password support. The latest beta versions are <BR> updated to automatically use shadow support if needed and <BR> available. Since older Linux distributions (around libc.5.3 <BR> this got fixed) don't include shadow passwords, wu-ftpd <BR> assumes Linux does not have shadow passwords. To compile for <BR> shadow passwords with Linux : <BR> <BR> o Get the shadow.h from the latest shadow package. <BR> o After building the shadow package, you have a <BR> libshadow.a. <BR> o Copy shadow.h to the src dir. <BR> o Copy libshadow.a to the support dir. <BR> o Edit src/config.h to say '#define SHADOW_PASSWORD' <BR> instead of #undef. <BR> o Edit the LIBES line in src/Makefile to read : <BR> LIBES = -lsupport -lbsd -lshadow (for some releases, <BR> -lcrypt is also needed) <BR> <BR> Modify src/ftpd.c around line 1061 to read : <BR> <BR> <BR> xpasswd = pw_encrypt(passwd, salt); <BR> <BR> 6. It doesn't compile at all on newer Linux installs. The error <BR> is : <BR> <BR> Add the item -DDIRENT_ILLEGAL_ACCESS to the CFLAGS line in <BR> src/makefiles/Makefile.lnx. <BR> <BR> 7. The timezone in the xferlog is wrong <BR> <BR> Either, you compiled with support for setting the process <BR> title (SPT_TYPE) on a machine that doesn't support this, <BR> where changing the process title clobbers the environment and <BR> therefore zaps the TZ variable. Recompile with SPT_TYPE set <BR> to SPT_NONE. <BR> <BR> Systems which don't support SPT_TYPE : Aix, SGI Irix <BR> <BR> Or, you need to copy the zoneinfo files to the ~ftp tree too. <BR> These are : <BR> <BR>/etc/TIMEZONE <BR>/etc/default/init <BR>/usr/share/lib/zoneinfo/.. <BR> The name of the correct file in /usr/share/lib/zoneinfo depends <BR> on your current timezone. Exact filenames depend on your <BR> operating system too. See the manpages for timezone(4) and <BR> zic(1M). <BR> <BR> 8. The timezone in the ls output is wrong <BR> <BR> See above, but also check if your system needs <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -