I am having a lot of trouble using adduser on a RedHat 6.0 box. I also
upgraded to the newest shadow-utils, but nothing changed:
I often use a shell script to add several users at once, but after some
time, as the number of users grew, every time I add a new user, either by
script or interactively, the /etc/group file gets corrupted: if the new
user is also member of a group that already contains many users (in fact
the number of users doesn't matter, the problem arises when the char count
for the users in the group+the group name+the commas is greater than a
fixed amount -8192-), then the user list for that group is broken, with
several blank lines inserted, making user creation almost impossible.
I could not imagine what it is caused by, just was wondering if similar
problems have already been reported.
Created attachment 318 [details]
cutting of the /etc/group file, for the groups involved in the problem
*** This bug has been marked as a duplicate of 3809 ***