On Sun, Aug 28, 2005 at 07:52:26PM +0200, Tomasz K??oczko wrote:
> On Sun, 28 Aug 2005, Sylvain Beucler wrote:
> [..]
> > Incidentally 'id' is also limited to 32
> > users. sysconf(_SC_NGROUPS_MAX) also returns 32.
> > 
> > stable's /usr/include/linux/limits.h has NGROUPS_MAX set to 32. In
> > testing and unstable it is set to 65536.
> > 
> > 
> > The usermod limitation happens in stable and testing (tested with
> > their respective default kernel), but not in unstable (tested with the
> > testing kernel - all tested kernels having ngroups_max=65536).
> > 
> > Basically we have a kernel without the limitation, but the executables
> > have the limitation, which was probably set at compile time.
> > 
> > Do you know what's the origin of the limitation, and how it could be
> > fixed to match the default kernel's?
> 
> shadow tools uses limits sucked from sysconf(_SC_NGROUPS_MAX) and all code 
> are rewrited for use dynamic limit number of groups. If this functions 
> return inccorect value compare with output of "sysctl kernel.ngroups_max" 
> this mean this is glibc bug (sysconf() it is glibc part).

Thanks a lot. I'll contact the glic people :)

-- 
Sylvain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to