Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 1999 22:11:30 +1200
From:      Andrew McNaughton <andrew@squiz.co.nz>
To:        "Ben Goodwin" <ben@hamsterville.ultranet.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: automatic user password expiration? 
Message-ID:  <199903211011.WAA17981@aniwa.sky>
In-Reply-To: Your message of "Sun, 21 Mar 1999 00:32:17 EST." <009501be735c$326c5ae0$174f06d1@hamsterville.ultranet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903211011.WAA17981>