From ler@lerlaptop.lerctr.org  Thu Jul  4 05:16:05 2002
Return-Path: <ler@lerlaptop.lerctr.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 59E2137B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Jul 2002 05:16:05 -0700 (PDT)
Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BF63243E31
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Jul 2002 05:16:04 -0700 (PDT)
	(envelope-from ler@lerlaptop.lerctr.org)
Received: from lerlaptop.lerctr.org (localhost [127.0.0.1])
	by lerlaptop.lerctr.org (8.12.5/8.12.5) with ESMTP id g64CFMF4000386
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Jul 2002 07:15:22 -0500 (CDT)
	(envelope-from ler@lerlaptop.lerctr.org)
Received: (from ler@localhost)
	by lerlaptop.lerctr.org (8.12.5/8.12.5/Submit) id g64CFMcN000385;
	Thu, 4 Jul 2002 07:15:22 -0500 (CDT)
Message-Id: <200207041215.g64CFMcN000385@lerlaptop.lerctr.org>
Date: Thu, 4 Jul 2002 07:15:22 -0500 (CDT)
From: Larry Rosenman <ler@lerctr.org>
Reply-To: Larry Rosenman <ler@lerctr.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: double Password prompt
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ler@lerctr.org

>Number:         40182
>Category:       conf
>Synopsis:       double Password prompt
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 05:20:01 PDT 2002
>Closed-Date:    Thu Jul 04 09:34:18 PDT 2002
>Last-Modified:  Thu Jul 04 09:34:18 PDT 2002
>Originator:     Larry Rosenman
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD lerlaptop.lerctr.org 4.6-STABLE FreeBSD 4.6-STABLE #19: Wed Jul 3 22:05:53 CDT 2002 ler@lerlaptop.lerctr.org:/usr/obj/usr/src/sys/LERLAPTOP i386


>Description:
Since the OpenSSH 3.4p1 import/update, I'm getting a double password entry
at login and also using sudo. 

    
    FreeBSD/i386 (lerlaptop.lerctr.org) (ttyv0)
     
    login: ler
    [pam_get_pass]
    Password:
    Password:
    Last login: Thu Jul  4 07:12:08 on ttyv0
    Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
            The Regents of the University of California.  All rights reserved.
     
    FreeBSD 4.6-STABLE (LERLAPTOP) #19: Wed Jul  3 22:05:53 CDT 2002
     
    Welcome to FreeBSD!
     
    To search for files that match a particular name, use find(1); for example
     
            find / -name "*GENERIC*" -ls
     
    will search '/', and all subdirectories, for files with 'GENERIC' in the name.
            --  Stephen Hilton <nospam@hiltonbsd.com>
    $ vidcontrol -P > z
     
>How-To-Repeat:
See above
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: roam 
Responsible-Changed-When: Thu Jul 4 05:29:35 PDT 2002 
Responsible-Changed-Why:  

I have already sent the following patch to Dag-Erling Smordgrav, who 
imported the new PAM code (this is PAM-related, not OpenSSH-related). 

Index: src/lib/libpam/libpam/pam_get_pass.c 
=================================================================== 
RCS file: /home/ncvs/src/lib/libpam/libpam/Attic/pam_get_pass.c,v 
retrieving revision 1.1.1.1.6.2 
diff -u -r1.1.1.1.6.2 pam_get_pass.c 
--- src/lib/libpam/libpam/pam_get_pass.c	3 Jul 2002 21:45:44 -0000	1.1.1.1.6.2 
+++ src/lib/libpam/libpam/pam_get_pass.c	4 Jul 2002 12:07:03 -0000 
@@ -82,8 +82,6 @@ 
return retval; 
} 

-fprintf(stderr, "[pam_get_pass]n%sn", prompt); 
- 
if (item == NULL) { 
/* The user hasn't entered a password yet. */ 
if (pam_test_option(options, PAM_OPT_USE_FIRST_PASS, NULL)) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40182 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Thu Jul 4 09:34:17 PDT 2002 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40182 
>Unformatted:
