Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We just discovered that each linux group can hold only max users up to 1024 characters (/etc/groups line length).

My coworker set up ActiveDirectory and wants to map the groups and users (ca.2500) to those in AD. I am not very familiar with that so i just report what i heard and understood.

I guess in other intranets all the user permission management is done on application level but we were just curious if it would be possible with basic linux ( means glibc limitations ?)

Does it depend on NFS limits too, I guess?

Any pointers to some research are welcome, I did hard finding the right keywords Googling.

share|improve this question

It might be better looking for a PAM solution that makes use of AD.

Google finds someone who alleged that the following works in /etc/groups -


Note the two groupnames share a common GID.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .