Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Logging attempted passwords |
|---|---|
| Date: | Fri, 22 Oct 2004 14:57:24 +0900 |
On Thu, Oct 21, 2004 at 03:26:36PM -0400, mike@genxweb.net wrote:
Is it possible to have sshd log the passwords and times of failed logins?David, I may be missunderstanding you but I believe sshd already does.
I think you're misunderstanding... possibly as a result of the evil and dreaded top-post, which fails to retain context properly. =8^) David appears to be asking for the PASSWORD the user used on a failed attempt. I'm not 100% positive, but I believe OpenSSH does not provide a mechanism to get the password.
If you do a cat on the /var/log/secure it has info of failed login attempts, the account they tried and the time. You cna easily use
Also note that /var/log/secure is the default on most Linux systems, but by no means the only place these messages could appear. This depends entirely on where the system's LOG_AUTHPRIV log messages are going, and that's only if the user hasn't changed the SyslogFacility in the sshd config file. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D
pgpZITXIP2vqv.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Controlling ssh from an external program, Jerry |
|---|---|
| Next by Date: | port forwarding and oracle, Chris Cheshire |
| Previous by Thread: | Re: Logging attempted passwords, Darren Tucker |
| Next by Thread: | Re: Logging attempted passwords, Philip Le Riche |
| Indexes: | [Date] [Thread] [Top] [All Lists] |