Re: wtmp logging.

"Andrew Hardy" <[email protected]> Wed, 17 Nov 2004 16:32:43 +0000
Newsgroups gmane.network.ftp.wuftpd.devel
Message-ID <[email protected]>
Thanks for help.

I have tried the suggested patch and I get this

machine> patch logwtmp.c < thePatch
  Looks like a unified context diff.
  I can't seem to find a patch in there anywhere.

I'm sure I've copied the patch correctly, perhaps this patch will not work
from wu-2.6.1?  Or am I doing something else wrong.

BTW:

Why does the web page say:

"...Then use the build script (not configure) to build on Solaris..."

Building wu-ftpd is incorporated into our build process and executes
configure to generate the Makefile(s) then executes the make.

Thanks,

Andrew H.






|---------+---------------------------->
|         |           Ian Willis       |
|         |           <[email protected]|
|         |           om>              |
|         |           Sent by:         |
|         |           owner-wuftpd-dev@|
|         |           wu-ftpd.org      |
|         |                            |
|         |                            |
|         |           17/11/2004 15:59 |
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                                  |
  |       To:       [email protected]                                                                                                         |
  |       cc:       [email protected]                                                                                                           |
  |       Subject:  Re: wtmp logging.                                                                                                                |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|




Solaris 8 uses /var/adm/wtmpx instead of /var/adm/wtmp, try the patch from:

http://www.landfield.com/wu-ftpd/mail-archive/wuftpd-dev/2002/Sep/0006.html

Ian

| From: "Andrew Hardy" <[email protected]>
| Subject: wtmp logging.
| To: [email protected]
| Date: Wed, 17 Nov 2004 15:28:27 +0000
|
| We have Solaris as follows:
|
| Machine hardware:   sun4u
| OS version:         5.8
| Processor type:     sparc
| Hardware:           SUNW,Ultra-4
|
| We are running wu-ftp version Version wu-2.6.1(1).
|
| It seems wtmp_logging is not supported, but at various times including
| logout we get a sys log message saying the file cannot be found.
|
| ftpd.c has static int wtmp_logging hard coded to 1.  Before we change
this
| static, add a #define or generally hack around with the code, can any one
| tell me what is the proper and safe way to indicate to the software not
to
| imnplement  wtm logging ?
|
| Many thanks,
|
| Andrew H.