From 278f9900ad6c46724f9eabbe935a53ee5a236a81 Mon Sep 17 00:00:00 2001 From: dtucker Date: Wed, 5 Oct 2005 13:02:16 +0000 Subject: [PATCH] - (dtucker) [configure.ac sshd.8] Enable locked account check (a prepended "*LOCKED*" string) for FreeBSD. Patch jeremie at le-hen.org and senthilkumar_sen at hotpop.com. --- ChangeLog | 5 +++++ configure.ac | 1 + sshd.8 | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ccf6b0f1..dc3e42f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +20051005 + - (dtucker) [configure.ac sshd.8] Enable locked account check (a prepended + "*LOCKED*" string) for FreeBSD. Patch jeremie at le-hen.org and + senthilkumar_sen at hotpop.com. + 20051003 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2005/09/07 08:53:53 diff --git a/configure.ac b/configure.ac index e8c6f871..b83aed8e 100644 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,7 @@ mips-sony-bsd|mips-sony-newsos4) ;; *-*-freebsd*) check_for_libcrypt_later=1 + AC_DEFINED(LOCKED_PASSWD_PREFIX, "*LOCKED*") ;; *-*-bsdi*) AC_DEFINE(SETEUID_BREAKS_SETUID) diff --git a/sshd.8 b/sshd.8 index fdff4ac9..94cefdea 100644 --- a/sshd.8 +++ b/sshd.8 @@ -123,7 +123,10 @@ on Solaris, .Ql \&* on HP-UX, containing .Ql Nologin -on Tru64 and a leading +on Tru64, +a leading +.Ql \&*LOCKED\&* +on FreeBSD and a leading .Ql \&!! on Linux). If there is a requirement to disable password authentication for the account while allowing still public-key, then the passwd field -- 2.45.2