useradd now creates groups too

Valter Douglas Lisbôa Jr. douglas at
Mon Sep 29 06:36:53 PDT 2008

Em Monday 29 September 2008 09:47:35 Jeremy Henty escreveu:
> Replying to myself,
> On Mon, Sep 29, 2008 at 09:07:28AM +0100, Jeremy Henty wrote:
> > I've noticed a change in the behaviour of useradd when upgrading LFS
> > from 6.1.1 to  6.3: "useradd foo" now creates  a default group "foo"
> > and makes  it the  primary group  of user "foo".   It this  meant to
> > happen or have I messed something up?
> I've just noticed that shadow- seems to be
> responsible for this.   Is that right?  If so then it  does a lot more
> than it says on the tin!
I did notice it since a shadow upgrade to this version, I don't know if it is 
caused by the patch since I always apply it.

> Regards,
> Jeremy Henty
I'm not sure, but it can be changed somewhere in /etc/login.defs.

Valter Douglas Lisbôa Jr.
Trenix - IT Solutions
"Nossas Idéias, suas Soluções!"
contato at

More information about the lfs-support mailing list