Subject: Re: Adding a users group to /etc/group (Was: CVS commit: basesrc)
To: None <email@example.com>
From: David Brownlee <firstname.lastname@example.org>
Date: 04/29/2000 10:47:44
On Sat, 29 Apr 2000, Bernd Ernesti wrote:
> > basesrc/etc: group
> > useradd defaults to using the 'users' group, so add one.
> Arg, you now hardcoded the group to a fixed number.
> Let the admin who use that script decide which number he wants to
> Please back that out.
Without a users group the default useradd will fail. Having
'useradd bob' fail with 'useradd: group users not found' is
Another option would be to change the default group for useradd
to something else, but that seems even less attractive.
An admin can just as easily change the gid of a group as add a
new one to /etc/group, and 100 is a common enough gid.