NetBSD Problem Report #11100

Received: (qmail 13791 invoked from network); 29 Sep 2000 06:55:22 -0000
Message-Id: <200009290654.XAA21316@garbled.net>
Date: Thu, 28 Sep 2000 23:54:38 -0700 (MST)
From: Tim Rightnour <garbled@garbled.net>
Reply-To: garbled@garbled.net
To: gnats-bugs@gnats.netbsd.org
Subject: userdel freaks out if group listed in /etc/usermgmt.conf does  not exist
X-Send-Pr-Version: 3.95

>Number:         11100
>Category:       bin
>Synopsis:       userdel reacts poorly to missing group
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    simonb
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 29 06:56:00 +0000 2000
>Closed-Date:    Wed Dec 06 01:47:03 +0000 2000
>Last-Modified:  Wed Dec 06 01:47:03 +0000 2000
>Originator:     Tim Rightnour
>Release:        1.5ALPHA2<NetBSD-current source date>
>Organization:

>Environment:

NetBSD cursa 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (CURSA) #1: Thu Sep 28 01:13:22 
MST 2000     root@cursa:/usr/srcwork/1.5/sys/arch/i386/compile/CURSA i386


>Description:
When attempting to delete a user added with useradd:
userdel: group users not found

A quick look shows that users is referenced in /etc/usermgmt.conf, but is
not in my group file.  However, the user I was attempting to delete is
not a member of this group.

dink:*:1000:0:SuperDink:/homedink:/bin/sh


>How-To-Repeat:
pull users out of the group file, and attempt to delete *any* group.

>Fix:
dunno.  It shouldn't care if users exists or not if it's killing a user
that isn't even in that group.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->simonb 
Responsible-Changed-By: simonb 
Responsible-Changed-When: Sat Sep 30 08:57:45 PDT 2000 
Responsible-Changed-Why:  
I'll take care of this one. 
State-Changed-From-To: open->feedback 
State-Changed-By: simonb 
State-Changed-When: Mon Oct 16 22:48:55 PDT 2000 
State-Changed-Why:  
I believe the recent changes to user.c should address this. 
Tim - can you try them out please? 
State-Changed-From-To: feedback->closed 
State-Changed-By: simonb 
State-Changed-When: Tue Dec 5 17:46:40 PST 2000 
State-Changed-Why:  
Submitter has no way to test this anymore. 
>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.