[patch] LOCKED_PASSWD_STRING for FreeBSD

Jeremie Le Hen jeremie at le-hen.org
Wed Oct 5 08:08:22 EST 2005


Hi,

I dare to send you this very small patch that defines
LOCKED_PASSWD_STRING for the FreeBSD operating system.

The manpage had been unclear about this for a long time, up to
5.x days.  Since 6.x, it has been made clearer, and thanks
to Ceri Davies who highlighted this feature in OpenSSH, I
made this patch.

I hope this will reach OpenSSH source tree.  This is not a big
deal and I would add that, while not directly important for the
FreeBSD OS since it doesn't use autotools stuffs, it is for
users that don't use the stock OpenSSH provided with FreeBSD.

Thanks for your work, keep on ! :-)

Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvs/openssh/configure.ac,v
retrieving revision 1.296
diff -u -p -u -r1.296 configure.ac
--- configure.ac	22 Sep 2005 10:19:54 -0000	1.296
+++ configure.ac	4 Oct 2005 21:59:01 -0000
@@ -398,6 +398,7 @@ mips-sony-bsd|mips-sony-newsos4)
 	;;
 *-*-freebsd*)
 	check_for_libcrypt_later=1
+	AC_DEFINE(LOCKED_PASSWD_STRING, "*")
 	;;
 *-*-bsdi*)
 	AC_DEFINE(SETEUID_BREAKS_SETUID)


More information about the openssh-unix-dev mailing list