From owner-freebsd-questions Wed Sep 3 18:28:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA22806 for questions-outgoing; Wed, 3 Sep 1997 18:28:14 -0700 (PDT) Received: from mph124.rh.psu.edu (hunt@MPH124.rh.psu.edu [128.118.126.83]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA22801 for ; Wed, 3 Sep 1997 18:28:11 -0700 (PDT) Received: (from hunt@localhost) by mph124.rh.psu.edu (8.8.7/8.8.7) id VAA00773; Wed, 3 Sep 1997 21:27:54 -0400 (EDT) Message-ID: <19970903212752.11772@mph124.rh.psu.edu> Date: Wed, 3 Sep 1997 21:27:52 -0400 From: Matthew Hunt To: Brian Somers Cc: Bill Ott , freebsd-questions@FreeBSD.ORG Subject: Re: Password Aging Reply-To: Matthew Hunt References: <199709040036.BAA16787@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199709040036.BAA16787@awfulhak.demon.co.uk>; from Brian Somers on Thu, Sep 04, 1997 at 01:36:00AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Sep 04, 1997 at 01:36:00AM +0100, Brian Somers wrote: > > Is there a nice clean (read easy) way to automate the expiration of user > > passwords every 'x' days? I could right a script, but why re-invent the > > wheel... > > Run ``chpass'' as root. As far as I can tell, you can set an expiry date, such as January 1, 1998, but you can't say that the user's password expires every 90 days. I think the latter is what the original poster wanted. If chpass has this functionality, I haven't managed to find it. -- Matthew Hunt * Think locally, act globally. finger hunt@mph124.rh.psu.edu for PGP public key.