From owner-freebsd-questions@FreeBSD.ORG Thu May 13 04:22:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC53816A4CE for ; Thu, 13 May 2004 04:22:51 -0700 (PDT) Received: from discordia.pl (discordia.pl [212.160.154.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AD9C43D49 for ; Thu, 13 May 2004 04:22:51 -0700 (PDT) (envelope-from toread@discordia.pl) Received: from localhost (localhost.discordia.pl [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 5630F73819 for ; Thu, 13 May 2004 13:22:50 +0200 (CEST) Received: from discordia.pl ([127.0.0.1]) by localhost (discordia.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08888-01-11 for ; Thu, 13 May 2004 13:22:46 +0200 (CEST) Received: by discordia.pl (Postfix, from userid 1001) id 083C9738AA; Thu, 13 May 2004 13:22:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 02DB773819 for ; Thu, 13 May 2004 13:22:45 +0200 (CEST) Date: Thu, 13 May 2004 13:22:45 +0200 (CEST) From: Piotr Gnyp To: questions@freebsd.org In-Reply-To: <20040513111846.GC39379@happy-idiot-talk.infracaninophile.co.uk> Message-ID: References: <20040513111846.GC39379@happy-idiot-talk.infracaninophile.co.uk> Organization: The Golden Apple Corp MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new (DrWeb at discordia.pl) Subject: Re: password expiry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 11:22:52 -0000 On Thu, 13 May 2004, Matthew Seaman wrote: > On Thu, May 13, 2004 at 12:59:58PM +0200, Piotr Gnyp wrote: > > I`m trying to set password expiry for users, I`ve changed login.conf to: > > :minpasswordlen=6:\ > > :passwordtime=30d:\ > > :warnpassword=1w:\ > > But it doesn`t seem to work. What I`m missing, or where I will find the > > answer. Plase advice. > # cap_mkdb /etc/login.conf > perhaps? Remember too that login.conf is only consulted at login > time, so you have to log out and back in again in order to see any > effects. done that, and also I`ve added to sshd_conf: UseLogin yes And no effect. Tried on 5.2.1-R-p6 and 4.10-PRER.