Subject: bin/11071: usermod -G doesn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: /usr/pkg/bin/tcsh <feyrer@feyrer.de>
List: netbsd-bugs
Date: 09/23/2000 09:24:41
>Number:         11071
>Category:       bin
>Synopsis:       usermod -G doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 23 09:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     hf
>Release:        1.5_ALPHA2
>Organization:
	
>Environment:
	
System: NetBSD miyu 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (MIYU) #12: Thu Sep 21 13:13:38 MEST 2000 feyrer@miyu:/ccd0/cvs/src-1.5/sys/arch/i386/compile/MIYU i386


>Description:
	"usermod -G wheel someuser" does not work. Given that this is
	needed to su(8) to root, that's fairly bad, and people have to
	go back to manually editing /etc/group.

>How-To-Repeat:
	miyu# grep ingres /etc/group 
	ingres:*:74:ingres
	miyu# usermod -G ingres $USER
	miyu# grep ingres /etc/group
	ingres:*:74:ingres

>Fix:
	Unknown.
	A quick "grep /etc/group usr.sbin/user/*" shows that there's no
	code that actually touches /etc/group.
>Release-Note:
>Audit-Trail:
>Unformatted: