From owner-freebsd-bugs@FreeBSD.ORG Sat Nov 21 06:10:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF73B1065676 for ; Sat, 21 Nov 2009 06:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 843F28FC15 for ; Sat, 21 Nov 2009 06:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAL6A3ij002250 for ; Sat, 21 Nov 2009 06:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAL6A3dp002249; Sat, 21 Nov 2009 06:10:03 GMT (envelope-from gnats) Date: Sat, 21 Nov 2009 06:10:03 GMT Message-Id: <200911210610.nAL6A3dp002249@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "deeptech71@gmail.com" Cc: Subject: Re: bin/138855: if the hostname is empty, opiepasswd(1) creates a seed too short X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "deeptech71@gmail.com" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 06:10:03 -0000 The following reply was made to PR bin/138855; it has been noted by GNATS. From: "deeptech71@gmail.com" To: bug-followup@freebsd.org Cc: Subject: Re: bin/138855: if the hostname is empty, opiepasswd(1) creates a seed too short Date: Sat, 21 Nov 2009 06:06:06 +0000 Why are short hostnames unsupported? Anyways, here's a basic patch to check for short hostnames as much as "no hostnames". Not tested. I have no idea where "ke" came from. Is it better than generating a couple (or more) of random characters?