Red Hat Bugzilla – Bug 7714
group file corrupts when adding a lot of group members
Last modified: 2008-05-01 11:37:53 EDT
I am running free web based mail system and it is important to me
limit and control my mail users access rights and behaviour. After system
upgrade I assigned all my 5000 mailusers to one group. Result - totaly
corrupted /etc/group file. I noticed, that it is possible to assign about
200 members to one group without group database corruption. Corruption
symptoms are: extra spaces, newlines, a lot of commas around group names
and inside group name, zeros...
It is very important to fix this bug, because if system is running any
automated user adding mechanisms you could note too late, that some of your
users haven't any quotas, have access to ftp or other services that are,
Sorry, I did not look at shadow-utils sources yet, so I can't say where
exactly bug is, but I think you should take a look at group handling
functions and incorrect buffering, or smth.
Thank you for your support.
System Administrator of
"Gaumina design" - web desing & hosting
This is not a bug with shadow-utils specifically, so much as a limitation with
UNIX in general.