From owner-freebsd-questions Tue Aug 15 22:11:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 0A32437BF7C for ; Tue, 15 Aug 2000 22:11:19 -0700 (PDT) (envelope-from cjc@149.211.6.64.reflexcom.com) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 15 Aug 2000 22:10:13 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id WAA73343; Tue, 15 Aug 2000 22:11:15 -0700 (PDT) (envelope-from cjc) Date: Tue, 15 Aug 2000 22:11:15 -0700 From: "Crist J . Clark" To: "Brandon D. Valentine" Cc: questions@FreeBSD.ORG Subject: Re: YP users in wheel Message-ID: <20000815221115.A28027@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bandix@looksharp.net on Tue, Aug 15, 2000 at 10:14:06AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 15, 2000 at 10:14:06AM -0400, Brandon D. Valentine wrote: > [Cc: me, please] > > I have yp users I need to place in wheel so they can perform > administrative tasks. I have these users in a wheel group in my NIS > group maps and I have the '+:*::' line at the end of my /etc/group file > on the client machines. These users are shown by id(1) to be members of > wheel(0) but they are refused su to root on the grounds they are not in > the correct group to su. It's unclear to me wherein the conflict lies > if id gets the right group information. I've even tried putting > '+wheel:*::' in my /etc/group client files, to no avail. Suggestions? Do you have a wheel group defined before the NIS token in the group file? If you look at su source, it calls getgrgid(3) which says, "Identical group names or group gids may result in undefined behavior." -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message