Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 04:52:33 -0700
From:      Faried Nawaz <fn@hungry.org>
To:        freebsd-isp@freebsd.org
Subject:   Re: pw usermod -g problems...
Message-ID:  <20000606045219.A38433@starvation.hungry.com>

next in thread | raw e-mail | index | archive | help

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606045219.A38433>