Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2000 22:11:15 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        "Brandon D. Valentine" <bandix@looksharp.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: YP users in wheel
Message-ID:  <20000815221115.A28027@149.211.6.64.reflexcom.com>
In-Reply-To: <Pine.BSF.4.21.0008151009420.56151-100000@turtle.looksharp.net>; from bandix@looksharp.net on Tue, Aug 15, 2000 at 10:14:06AM -0400
References:  <Pine.BSF.4.21.0008151009420.56151-100000@turtle.looksharp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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