Bug 191359 - useradd: unknown GID 100
useradd: unknown GID 100
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: shadow-utils (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-11 01:57 EDT by Joachim Backes
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-12 11:29:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
strace useradd ... (4.59 KB, application/x-gzip)
2006-05-11 08:22 EDT, Joachim Backes
no flags Details

  None (edit)
Description Joachim Backes 2006-05-11 01:57:29 EDT
Description of problem:
ssh to some machine and then add some user by "useradd <some name>" on this
machine. Then the user will be added, but getting an error message: "useradd:
unknown GID 100". Getting no error message in FC4!


Version-Release number of selected component (if
applicable):shadow-utils-4.0.14-6.FC5




How reproducible: Each time


Steps to Reproduce:
1.ssh root@<target>
2.useradd <someuser>
3.
  
Actual results:
useradd: unknown GID 100


Expected results:
No message

Additional info:
Comment 1 Peter Vrabec 2006-05-11 08:09:21 EDT
I can't reproduce it. 
 
peter@a05-0705a ~ $ ssh root@wrabco 
root@wrabco's password: 
Last login: Tue May  2 14:36:38 2006 from aspr0n.redhat.usu 
wrabco ~ # useradd foo 
wrabco ~ # rpm -q shadow-utils 
shadow-utils-4.0.14-6.FC5 
wrabco ~ # rpm -q fedora-release 
fedora-release-5-5 
 
Comment 2 Joachim Backes 2006-05-11 08:21:49 EDT
I have made a "strace useradd eric" and I have attached the output (during a
script session).
Comment 3 Joachim Backes 2006-05-11 08:22:47 EDT
Created attachment 128881 [details]
strace useradd ...
Comment 4 Peter Vrabec 2006-05-11 08:50:00 EDT
Is there a group with ID 100 on your system? 
grep 100 /etc/group 
Comment 5 Joachim Backes 2006-05-11 08:58:55 EDT
No, only a group with groupid 1000.
Comment 6 Peter Vrabec 2006-05-11 09:06:52 EDT
So, that's the problem. 
 
Change your default group in /etc/default/useradd 
or 
create group with ID=100 
 
see: man useradd  
section default values 
 
 
Comment 7 Joachim Backes 2006-05-12 00:59:07 EDT
You are right, but if I use the useradd command together with the "-g <some
existing group>" option, then the warning about not existing gid 100 appears
too, and I think this is a bug. 
Comment 8 Peter Vrabec 2006-05-12 11:29:40 EDT
but the user is created. I don't consider this as a bug. You can try to report 
it to upstream.

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