From owner-freebsd-bugs Sat Apr 12 16:23:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA29847 for bugs-outgoing; Sat, 12 Apr 1997 16:23:36 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA29842 for ; Sat, 12 Apr 1997 16:23:29 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id BAA11015 for freebsd-bugs@freefall.freebsd.org; Sun, 13 Apr 1997 01:23:27 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id BAA01447; Sun, 13 Apr 1997 01:13:59 +0200 (MET DST) Message-ID: <19970413011358.FR00064@uriah.heep.sax.de> Date: Sun, 13 Apr 1997 01:13:58 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs@freefall.freebsd.org Subject: Re: bin/3233: adduser(8) doesn't add users to the wheel group References: <199704090200.TAA18639@freefall.freebsd.org> <19970409123407.25120@usn.blaze.net.au> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970409123407.25120@usn.blaze.net.au>; from David Nugent on Apr 9, 1997 12:34:07 +1000 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As David Nugent wrote: > > Yes.. thanks, I corrected my particular case, but the bug is still in > > adduser ;). > > No, there's no bug. If you tell adduser to make 'wheel' your > primary group, it should not put your name in /etc/group on > the 'wheel' line. /etc/group is for secondary group memberships > only. adduser(8) at least used to have this bug that if you added the user to primary group `wheel', it didn't offer you the option to also put it into the secondary group `wheel'. > pw(8) has this same "bug", Are you sure? (Well, as the author of pw(8), you should be sure. ;-) At least, it offers both, -g and -G, so it should be possible to say pw adduser mmblfrtz -g wheel -G wheel,operator I agree that the `wheel' case is very special here. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)