From nobody@FreeBSD.org  Mon May  1 23:12:36 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 0A67537BA95
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 May 2000 23:12:36 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id XAA62731;
	Mon, 1 May 2000 23:12:35 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200005020612.XAA62731@freefall.freebsd.org>
Date: Mon, 1 May 2000 23:12:35 -0700 (PDT)
From: sherwin@newpagcor.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Password during Login
X-Send-Pr-Version: www-1.0

>Number:         18340
>Category:       i386
>Synopsis:       Password during Login
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  1 23:20:06 PDT 2000
>Closed-Date:    Tue May 2 06:20:04 PDT 2000
>Last-Modified:  Tue May  2 06:20:39 PDT 2000
>Originator:     Ross Sherwin de Claro
>Release:        4.0-RELEASE
>Organization:
Philippine Amusement and Gaming Corporation
>Environment:
FreeBSD kapre.newpagcor.com 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Tue May  2 13:37:51 PHT 2000     sherwin@kapre.newpagcor.com:/usr/src/sys/compile/KAPRE  i386
>Description:
I found out that during login phase, FreeBSD does not check the password if its longer than the stored password of the user against the inputed one. 
>How-To-Repeat:
Try to login, root or even ordinary user:

Now in our case the password of root is "qwerty12"

Try entering this passwords:

-password-      -result-
qwerty           invalid
qwery12          invalid
qwerty12         valid
qwerty1234       valid, but its supposed to be invalid

>Fix:
Re-configure the algorithm on how FreeBSD check the Password against its database.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jedgar 
State-Changed-When: Tue May 2 06:20:04 PDT 2000 
State-Changed-Why:  
Duplicate of i386/18339 
>Unformatted:
