From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Il1rd-0008LO-OQ for garchives@archives.gentoo.org; Thu, 25 Oct 2007 12:31:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9PCTfFu028226; Thu, 25 Oct 2007 12:29:41 GMT Received: from dcnode-01.unlimitedmail.net ([212.85.44.112]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9PCPIDG023323 for ; Thu, 25 Oct 2007 12:25:18 GMT Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by dcnode-01.unlimitedmail.net (8.14.0/8.14.0) with ESMTP id l9PCP8fR019664 for ; Thu, 25 Oct 2007 14:25:09 +0200 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] pam limits Date: Thu, 25 Oct 2007 14:25:03 +0200 User-Agent: KMail/1.9.7 References: <47207f82.08b6660a.545e.ffffcb22@mx.google.com> <1193312749.27662.34.camel@blackwidow.nbk> In-Reply-To: <1193312749.27662.34.camel@blackwidow.nbk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251425.03520.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Spam-Status: No X-Archives-Salt: 4f8e19f5-98ed-477d-88fe-514ba6edf393 X-Archives-Hash: 5c04d4873a3772911254196ea953b701 On Thursday 25 October 2007, Albert Hopkins wrote: > Oh do they do that now? That was that nasty Red Hat extension. While one might agree or disagree about that, IMHO the problem now is that the options in /etc/default/useradd are ignored. If I run useradd -D it shows GROUP=100, but running useradd still creates a new group named after the user and puts the user into it. After a little search, it seems that the USERGROUPS_ENAB directive in /etc/login.defs, although not explicitly mentioning this issue, is the culprit. Setting it to "no" restores the old behavior (putting the new users into group "users"). Alternatively, looking at the various patches, it seems that a new option exists (-n), which seems to be the default when -g is not given, that is not documented in the man page (to see it, "useradd --help" must be used). This is another case where man pages are not in sync with changes introduced by patches. Should a bug be opened for this? -- gentoo-user@gentoo.org mailing list