RE: Chkpass.pl v0.92

"Adam Aube" <[email protected]> Thu, 24 Jul 2003 14:34:58 -0400
Newsgroups gmane.comp.djb.checkpassword
Message-ID <[email protected]>
<Forwarded to list>

> do you know if it logs failed attemps and what the person truly
> type in that did no work?

It does record the login failure via syslog.

> We need to see the password that the person actually typed in
> whether it is correct or not.

By default it does not log the password used. However, you can
modify the main routine to include the password in the log.

Change the line that reads:

&log("Login success for user $login from $remote_ip");

to

&log("Login success for user $login with password $passwd from $remote_ip");

and then do the same for the failure log message.

Adam
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001