From owner-freebsd-isp Sun Mar 21 2:12:23 1999 Delivered-To: freebsd-isp@freebsd.org Received: from aniwa.sky (p33-max12.wlg.ihug.co.nz [216.100.145.33]) by hub.freebsd.org (Postfix) with ESMTP id 8F066150AE for ; Sun, 21 Mar 1999 02:12:15 -0800 (PST) (envelope-from andrew@squiz.co.nz) Received: from aniwa.sky (localhost [127.0.0.1]) by aniwa.sky (8.9.1a/8.9.1) with ESMTP id WAA17981; Sun, 21 Mar 1999 22:11:30 +1200 (NZST) Message-Id: <199903211011.WAA17981@aniwa.sky> X-Mailer: exmh version 2.0.2 2/24/98 To: "Ben Goodwin" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: automatic user password expiration? In-reply-to: Your message of "Sun, 21 Mar 1999 00:32:17 EST." <009501be735c$326c5ae0$174f06d1@hamsterville.ultranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Mar 1999 22:11:30 +1200 From: Andrew McNaughton Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm having trouble locating dox on how to (or maybe it's not possible?) set > an expiry date for a particular user's password ... Hopefully to the effect > of preventing login via any getpw* routines until the expire is re-set or > something ... I'm running 226R .. but if I need to be running a later > version, that's OK, I just need to know what version and how to do it. ... > Hopefully I can query the system as to what the expire date for a particular > user is, too ... > > Perhaps there's a better way to do what I'm looking to do. > I want to set up accounts that are pre-paid for N number of days. Once N > days have passed (and assuming they haven't paid and we've added N number > more days to the current 'expire' date), they lose the ability to > authenticate with POP, ftp, radius, etc ... chpass knows about expiry dates, and there's a field for it in /etc/master.passwd. Andrew McNAughton -- ----------- Andrew McNaughton andrew@squiz.co.nz http://www.newsroom.co.nz/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message