wu-ftpd as shipped hammers argv[0] which affects the name syslog uses to log. for example: Dec 20 10:40:28 twinlark ftpd: w221.z208176006.sjc-ca.dsl.cnc.net: connected: IDLE [11234]: lost connection to w221.z208176006.sjc-ca.dsl.cnc.net [208.176.6.221] everything after "twinlark" and before "[11234]", including the spaces is the argv[0] value... it's supposed to be the daemon name, such as "ftpd". the patch to fix this is trivial. it's included below. -dean --- wu-ftpd-2.6.0/src/ftpd.c.noproctitle Fri Dec 22 07:14:25 2000 +++ wu-ftpd-2.6.0/src/ftpd.c Fri Dec 22 07:14:56 2000 @@ -6578,7 +6578,7 @@ #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) #ifndef SPT_TYPE -#define SPT_TYPE SPT_REUSEARGV +#define SPT_TYPE SPT_NONE #endif #if SPT_TYPE != SPT_NONE && SPT_TYPE != SPT_BUILTIN
PAM bug. Duplicate of 17807. Close this. Except for using SPT_NONE, there is nothing WU-FTPD can do to work arround PAM's mistake.
*** This bug has been marked as a duplicate of 17807 ***