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
How reproducible: Each time
Steps to Reproduce:
useradd: unknown GID 100
I can't reproduce it.
peter@a05-0705a ~ $ ssh root@wrabco
Last login: Tue May 2 14:36:38 2006 from aspr0n.redhat.usu
wrabco ~ # useradd foo
wrabco ~ # rpm -q shadow-utils
wrabco ~ # rpm -q fedora-release
I have made a "strace useradd eric" and I have attached the output (during a
Created attachment 128881 [details]
strace useradd ...
Is there a group with ID 100 on your system?
grep 100 /etc/group
No, only a group with groupid 1000.
So, that's the problem.
Change your default group in /etc/default/useradd
create group with ID=100
see: man useradd
section default values
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.
but the user is created. I don't consider this as a bug. You can try to report
it to upstream.