From owner-freebsd-bugs Thu Jan 14 00:50:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09918 for freebsd-bugs-outgoing; Thu, 14 Jan 1999 00:50:40 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09900 for ; Thu, 14 Jan 1999 00:50:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA15809; Thu, 14 Jan 1999 00:50:01 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09021; Thu, 14 Jan 1999 00:41:03 -0800 (PST) (envelope-from nobody) Message-Id: <199901140841.AAA09021@hub.freebsd.org> Date: Thu, 14 Jan 1999 00:41:03 -0800 (PST) From: merlin@ghostwheel.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/9484: False error while adding a user, whose uid begins with a number, via sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9484 >Category: bin >Synopsis: False error while adding a user, whose uid begins with a number, via sysinstall >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 14 00:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Christopher Knight >Release: 3.0-current (cvsup'd on 01/10/99) >Organization: Bohemian Adventurer >Environment: FreeBSD shadows.ghostwheel.com 3.0-CURRENT FreeBSD 3.0-CURRENT #9: Sun Jan 10 10:43:20 PST 1999 merlin@shadows.ghostwheel.com:/usr/src/sys/compile/SHADOWS i386 >Description: I was trying to add a user named '2grnflcn' to my system via /stand/sysinstall and was given the error that this user already exists. Harold Gutch followed up on my mailing to the freebsd-current mailing list with the following information: > The error is somewhere in pw(8) - from a quick point of view it > seems as if pw will assume that a user with a loginname starting > with a digit has that UID, so in your case pw (which is called by > sysinstall) found that the user you specified already existed and > had the the UID 2. > This clearly is a bug, you might file a PR on this topic. >How-To-Repeat: Attemt to use /stand/sysinstall to create a user whose username begins with the digits of a UID that already exists. ie '2blowup' '9mine' etc. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message