Red Hat Bugzilla – Bug 147742
useradd -G corrupts /etc/gshadow line for the group
Last modified: 2007-11-30 17:11:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Description of problem:
Doing a useradd -G command and the group line specified becomes corrupted.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. useradd -G build whack
Actual Results: Examine /etc/gshadow
Notice the "build" group line appears to be corrupted with the list of users in the group.
Expected Results: Should be:
I can't reproduce it.
Why do u use release 56. I thought there is release #37 in fc3?
$rpm -qi shadow-utils
Name : shadow-utils Relocations: (not relocatable)
Version : 4.0.3 Vendor: (none)
Release : 57 Build Date: Fri 18 Feb 2005 09:48:26
# useradd -G rat Dezo
# cat /etc/gshadow | grep Dezo
I think i have already fount it. There must be a bug somewhere in
shadow-4.0.3-maxmem.patch. Release #57(from devel) doesn't include this patch,
that was the reason it has worked for me.
Created attachment 111424 [details]
fixed maxmem.patch from Mogens Kjaer (email@example.com)
Will this be added as an update for Fedora Core 3? I hope so.