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.




Network Security Secure-Shell
[Top] [All Lists]

Fwd: Disabling sshd's account lock check

Subject: Fwd: Disabling sshd's account lock check
Date: Wed, 29 Nov 2006 16:17:11 -0800
Actually, I take my previous statement back. I can only get public key auth to work. Password auth fails, telling me I have the wrong password (in /var/log/messages).

--
Brian McNally


Begin forwarded message:

From: Brian McNally <bmcnally@u.washington.edu>
Date: November 29, 2006 12:30:24 PM PST
To: Lamont Granquist <lamont@scriptkiddie.org>
Subject: Re: Disabling sshd's account lock check

Fantastic, modifying LOCKED_PASSWD_PREFIX seems to have done the trick. Much thanks.

--
Brian McNally


On Nov 29, 2006, at 11:51 AM, Lamont Granquist wrote:


check the values of LOCKED_PASSWD_PREFIX, LOCKED_PASSWD_STRING and LOCKED_PASSWD_SUBSTR in config.h -- depending on your platform and how openssh was compiled you may have different values defined there.


if you want to bypass this for a single user, just use a string in the passwd field which ssh isn't compiled to match.

otherwise make sure all those are not defined in config.h and recompile ssh (doesn't seem to be an autoconf option to tweak this)

On Tue, 28 Nov 2006, Brian McNally wrote:
Versions of sshd >3.8 check to see if a user's account is locked when authenticating them. Is there a way to disable this "feature", either at compile time or with an undocumented option in sshd_config?

Thanks,

--
Brian McNally





<Prev in Thread] Current Thread [Next in Thread>