Date: Wed, 6 Apr 2005 10:54:02 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: jonas <jonas@schiebtsich.net> Cc: freebsd-questions@freebsd.org Subject: Re: strange kern.ngroups problems Message-ID: <20050406155401.GJ64927@dan.emsphone.com> In-Reply-To: <200504061723.20099.jonas@schiebtsich.net> References: <200504061723.20099.jonas@schiebtsich.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 06), jonas said: > I have a set of users in a NIS/YP database who may login on multiple > machines. > > Now for some reason, on one of those machines (5.3-RELEASE-p6), any > user who belongs to more groups than 4 on the NIS/YP server cannot > login any more. If I'm using su as root to become this user I get: > su: setusercontext: Invalid argument > > This is only the case on this one 5.3-R-p6 machine. All machines have > kern.ngroups set to 16. > > While I'm certain I have not changed a lot from the default install, > is there any place other than the kern.ngroups sysctl variable that I > may have changed by accident to decrease the max groups per user? > > I could also provide output from truss down to: > setgroups(0x11,0xbfbfe660) ERR#22 'Invalid argument' 0x11 = 17, which is a whole lot more than 4. Is the user a member of any local groups (see /etc/group)? What does "id nisuser" print? -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406155401.GJ64927>