From owner-freebsd-isp Tue Jun 6 4:51: 7 2000 Delivered-To: freebsd-isp@freebsd.org Received: from terror.hungry.com (terror.hungry.com [199.181.107.40]) by hub.freebsd.org (Postfix) with SMTP id 55E1437B57D for ; Tue, 6 Jun 2000 04:51:03 -0700 (PDT) (envelope-from fn@Hungry.COM) Received: (qmail 25705 invoked from network); 6 Jun 2000 11:50:59 -0000 Received: from starvation.hungry.com (199.181.107.58) by terror.hungry.com with SMTP; 6 Jun 2000 11:50:59 -0000 Received: (from fn@localhost) by starvation.hungry.com (8.9.3/8.9.3) id EAA38507; Tue, 6 Jun 2000 04:52:33 -0700 (PDT) (envelope-from fn@Hungry.COM) Date: Tue, 6 Jun 2000 04:52:33 -0700 From: Faried Nawaz To: freebsd-isp@freebsd.org Subject: Re: pw usermod -g problems... Message-ID: <20000606045219.A38433@starvation.hungry.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Today I've noticed a problem. I cannot change group id's with the `pw > usermod` command anymore. In fact, pw is failing on all my other 4.0 boxen > too. Here is where this bug was introduced: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/usr.sbin/pw/pw_user.c.diff?r1=1.32&r2=1.33 On line 471 of pw_user.c, change pw->pw_gid = pw->pw_gid; to pw->pw_gid = newgid; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message