max number of groups a user can be member of

Roberto Nunnari roberto.nunnari at supsi.ch
Mon Jul 24 15:51:08 UTC 2006


Thank you Dan.

I'll set up a test machine and try a kernel with the limit
set to 256.

Do you know if that change requires a build world or
a buildkernel is enough?

Best regards.


Dan Nelson wrote:
> In the last episode (Jul 24), Roberto Nunnari said:
>> Hi everybody.
>>
>> Could anybody tell me the reason why by default FreeBSD
>> limits the number of groups a user can be member of to 16?
> 
> Compatibility with the NFS protocol.  A google search on "nfs 16
> groups" returned a lot of hits.
> 
> http://www.sunmanagers.org/archives/1998/1328.html
> http://nfsworld.blogspot.com/2005/03/whats-deal-on-16-group-id-limitation.html
> 
> You can raise the limit, but you need to make sure that you raise it on
> all servers that share NFS mounts.  If you don't you may end up with
> remote file access either failing or not passing the full group
> membership list to the remote server, which could cause incorrect
> "permission denied" errors.
> 


-- 
               Roberto Nunnari -software engineer-
                mailto:roberto.nunnari at supsi.ch
  Scuola Universitaria Professionale della Svizzera Italiana
              Dipartimento Tecnologie Innovative
                   http://www.dti.supsi.ch
  SUPSI-DTI
  Via Cantonale                        tel: +41-91-6108561
  6928 Manno                 """       fax: +41-91-6108570
  Switzerland               (o o)
=======================oOO==(_)==OOo========================


More information about the freebsd-questions mailing list