Date: Sat, 9 Mar 1996 12:48:22 -0800 (PST) From: Mike Pritchard <mpp> To: tony@hornet.netac.co.za (Tony Harverson) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Expiry Date entry ? Message-ID: <199603092048.MAA22370@freefall.freebsd.org> In-Reply-To: <199603080846.KAA05071@hornet.netac.co.za> from "Tony Harverson" at Mar 8, 96 10:46:22 am
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Harverson wrote: > > Heya All, > > I was just wondering what process an expiry date goes thru before its > recorded in the master.passwd file. I want to generate the dates for > the master.passwd in a script, but a look at the master.passwd doesn't > make them seem very interpretable. Exactly how is that field > formatted ? It is stored as seconds since the epoc (e.g. a value of type time_t). chpass uses the mktime() function to generate the value, so you might want to look at how chpass generates the value just to be sure you are consistent. -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603092048.MAA22370>