Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 7542 - adduser breaks putting multiple users into one group
Summary: adduser breaks putting multiple users into one group
Status: CLOSED DUPLICATE of bug 3809
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-03 15:14 UTC by Dale Lovelace
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-03 15:20:03 UTC

Attachments (Terms of Use)

Description Dale Lovelace 1999-12-03 15:14:08 UTC
After addind _many_ users to a single group adduser will stop appending the
new user to the end of the line in /etc/group and will start putting a new
line in after each user.

This script will show you the problem:

for i in `cat /usr/dict/words` ; do adduser -G users $i ; done

the "users" line in /etc/group will look like this:

users:x:100:user1, user2, user3, user4, user5, etc, etc, wholalottusers

  Adding each word in the dictionary will get to the C's before it starts
this behavior, so it takes a few hours. Adding a user manually through
Linuxconf while your adduser script is running will hurry the process

Comment 1 Dale Lovelace 1999-12-03 15:20:59 UTC
Woops, didn't see bug 3809...

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