NetBSD Problem Report #7599

Received: (qmail 464 invoked from network); 18 May 1999 00:24:06 -0000
Message-Id: <199905180024.AAA01566@orchard.arlington.ma.us>
Date: Tue, 18 May 1999 00:24:04 GMT
From: sommerfeld@orchard.arlington.ma.us (Bill Sommerfeld)
Reply-To: sommerfeld@orchard.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: finger doesn't show people with >8 charaacter user names as logged in
X-Send-Pr-Version: 3.95

>Number:         7599
>Category:       bin
>Synopsis:       finger doesn't show people with >8 charaacter user names as logged in
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 17 17:35:01 +0000 1999
>Closed-Date:    Sun Apr 20 23:24:02 +0000 2003
>Last-Modified:  Sun Apr 20 23:24:02 +0000 2003
>Originator:     Bill Sommerfeld
>Release:        1.4
>Organization:

>Environment:

System: NetBSD orchard.arlington.ma.us 1.4 NetBSD 1.4 (ORCHARDII) #54: Sun May 16 10:05:51 EDT 1999 sommerfeld@orchard.arlington.ma.us:/usr/src/sys/arch/i386/compile/ORCHARDII i386


>Description:
	i have a >8 character username.	
	"who" will list me as logged in
	finger won't.

>How-To-Repeat:

>Fix:
	I looked at this once, and it was something of a mess to fix.
	[filing this so that I don't forget about this]
>Release-Note:
>Audit-Trail:

From: woods@most.weird.com (Greg A. Woods)
To: gnats-bugs@gnats.netbsd.org,
    netbsd-bugs@NetBSD.ORG (NetBSD Bugs and PR posting List) 
Cc:  Subject: Re: bin/7599: finger doesn't show people with >8 charaacter user names as logged in
Date: Wed, 19 May 1999 22:22:12 -0400 (EDT)

 [ On Tuesday, May 18, 1999 at 00:24:04 (GMT), Bill Sommerfeld wrote: ]
 > Subject: bin/7599: finger doesn't show people with >8 charaacter user names as logged in
 >
 > >Fix:
 > 	I looked at this once, and it was something of a mess to fix.
 > 	[filing this so that I don't forget about this]

 I think the best fix for both this problem (and PR#7598, which is for
 all intents and purposes the same), is to have pwd_mkdb and friends
 simply refuse to add accounts for user-names > UT_NAMESIZE in length.

 (and of course to make damn sure that everything storing or presenting
 user names is aware of and respecting of UT_NAMESIZE! ;-)

 Making the entire system treat user names as unique for the first
 UT_NAMESIZE characters and allowing (and preserving!) any greater number
 of characters would be a noble thing to do, but I don't think it's
 pragmatic, nor would it maintain the best compability with NetBSD
 closest cousins.

 -- 
 							Greg A. Woods

 +1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
 Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Sun Apr 20 19:23:40 EDT 2003 
State-Changed-Why:  
fixed as part of the utmpx merge. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.