Subject: bin/11100: userdel freaks out if group listed in /etc/usermgmt.conf does not exist
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <garbled@garbled.net>
List: netbsd-bugs
Date: 09/28/2000 23:50:29
>Number:         11100
>Category:       bin
>Synopsis:       userdel reacts poorly to missing group
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 28 23:56:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: