From owner-freebsd-bugs Wed Jun 13 14:10:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1319137B40C for ; Wed, 13 Jun 2001 14:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5DLA3b69194; Wed, 13 Jun 2001 14:10:03 -0700 (PDT) (envelope-from gnats) Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id C7B3B37B401 for ; Wed, 13 Jun 2001 14:07:40 -0700 (PDT) (envelope-from chern@meow.osd.bsdi.com) Received: (from chern@localhost) by meow.osd.bsdi.com (8.11.3/8.11.2) id f5DL7YY43460; Wed, 13 Jun 2001 14:07:34 -0700 (PDT) (envelope-from chern) Message-Id: <200106132107.f5DL7YY43460@meow.osd.bsdi.com> Date: Wed, 13 Jun 2001 14:07:34 -0700 (PDT) From: chern.lee@windriver.com Reply-To: chern.lee@windriver.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/28130: When an incorrect login is attempted, then a successful one goes through, the login process displays the incorrect first login name Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28130 >Category: bin >Synopsis: When an incorrect login is attempted, then a successful one goes through, the login process displays the incorrect first login name >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 13 14:10:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chern Lee >Release: FreeBSD 5.0-CURRENT i386 >Organization: Wind River Systems, Inc. >Environment: System: FreeBSD vision.osd.bsdi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri May 18 17:54:33 PDT 2001 chern@vision.osd.bsdi.com:/usr/src/sys/compile/VISION i386 >Description: The login binary is invoked as "login -p user" once the user enters a username within the "login:" prompt to bring up the corresponding "password:" prompt for that particular user. This causes some problems with multiple logins. login can retry logins many times. However, the same username as the first login attempt shows up. >How-To-Repeat: In a console, attempt to login with a bogus user/password. Then, login. Look at the corresponding login process running as root. It will show up as login -p bogususer instead of the correct user. >Fix: Perhaps rewrite argv each time a login is attempted such that it always appears correctly. >Release-Note: >Audit-Trail: >Unformatted: >Severity: non-critical To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message