Bug 11930 - Adduser corrupts /etc/group file
Summary: Adduser corrupts /etc/group file
Keywords:
Status: CLOSED DUPLICATE of bug 3809
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 6.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2000-06-06 20:24:11 UTC
Embargoed:


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.

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


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