Bug 11930 - Adduser corrupts /etc/group file
Summary: Adduser corrupts /etc/group file
Status: CLOSED DUPLICATE of bug 3809
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils   
(Show other bugs)
Version: 6.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-06-06 20:22 UTC by silver.wolf
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-06-06 20:24:11 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
cutting of the /etc/group file, for the groups involved in the problem (16.01 KB, text/plain)
2000-06-06 20:24 UTC, silver.wolf
no flags Details

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.


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 ***

Note You need to log in before you can comment on or make changes to this bug.