Bug 11930

Summary: Adduser corrupts /etc/group file
Product: [Retired] Red Hat Linux Reporter: silver.wolf
Component: shadow-utilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-06 20:24:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
cutting of the /etc/group file, for the groups involved in the problem none

Description silver.wolf 2000-06-06 20:22:02 UTC
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.

Bye

Comment 1 silver.wolf 2000-06-06 20:24:10 UTC
Created attachment 318 [details]
cutting of the /etc/group file, for the groups involved in the problem

Comment 2 Bernhard Rosenkraenzer 2000-07-18 18:09:07 UTC

*** This bug has been marked as a duplicate of 3809 ***