From owner-freebsd-questions@FreeBSD.ORG Wed May 7 21:23:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0A41065681 for ; Wed, 7 May 2008 21:23:56 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4302E8FC0A for ; Wed, 7 May 2008 21:23:56 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so153208ele.13 for ; Wed, 07 May 2008 14:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YOUHX/OrZyavlwNdhk3AG6PrqDgPz8y0rJ6Gp6W6354=; b=WcIBblmRBCNL6vdaGmh+q3FiQlT0EW1vACzpyOQ4UqYY+Ez5WLTzatPImwP3NANbSRBOWYwDagc8HHXble3CPuMRHmhDe+URRPHVYnsQzaV5Y2y62TNsvWflFq4Xr0+qNIzijGPQjAkB58kn10nLC9fQoHg31EBcpZVAsjb12pY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vodaby1BlvJFyHmN3cdTE/IEcIevoF3jEcP3mrj2gb+nKY25TZl+kk0a475cX/udsMRAXkvZiLXWlxigVxFTdgLFTowxyOFiT5oBU/718/oj6IgFrKZHRkSnFEbvwfhx51swl+/KhHrl6BekDOQAcBiXQLB+8f7Q3HEAQqqX9Z0= Received: by 10.142.188.4 with SMTP id l4mr1064090wff.183.1210195435084; Wed, 07 May 2008 14:23:55 -0700 (PDT) Received: by 10.143.124.1 with HTTP; Wed, 7 May 2008 14:23:54 -0700 (PDT) Message-ID: <75a268720805071423v44b3450cj65c36e1af70c4a5@mail.gmail.com> Date: Thu, 8 May 2008 00:23:54 +0300 From: "Omer Faruk Sen" To: Mel In-Reply-To: <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: minpasswordlen and login.conf not working on 6 or 7 series X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 21:23:56 -0000 Actually I have read it but haven't read all the man pages because even in 7.0 manual page for login.conf still have: minpasswordlen number 6 The minimum length a local password may be. I think that line should be removed from manual page too. Regards, thanks for the fast reply. On Thu, May 8, 2008 at 12:16 AM, Mel wrote: > On Wednesday 07 May 2008 23:00:04 Omer Faruk Sen wrote: > > > I wanted to set the minimum length of passwords of my users so I > > have done the followings in login.conf > > > > 1) added :minpasswordlen=5:\ to default like: > > > > Am I missing something here? Or this may be a bug on FreeBSD 6.X and 7.X > > You didn't read the login.conf manpage: > The minpasswordlen and minpasswordcase facilities for enforcing restric- > tions on password quality, which used to be supported by login.conf, have > been superseded by the pam_passwdqc(8) PAM module. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. >