Re: Expiration Date

Leo Savage (leo@esva.net)
Sun, 4 Aug 1996 12:01:18 -0400 (EDT)

On Sat, 3 Aug 1996 rspence@trucom.com wrote:

> I'm trying to use the Expiration Date to expire passwords, but it's
> not working.
>
> username Password = "UNIX", Expiration = "August 01, 1996"
>
> What I'm doing wrong?

The format is incredibly picky. It must be given EXACTLY in the form:

"Mmm dd yyyy"

In order to work, your above example MUST read like this:

username Password = "UNIX", Expiration = "Aug 01 1996"

The code that picks apart the date allows for no variations whatsoever.

--
    ("`-/")_.-'"``-._          Leo "doc" Savage
     . . `; -._    )-;-,_`)
    (v_,)'  _  )`-.\  ``-'       leo@esva.net
   _.- _..-_/ / ((.'
 ((,.-'   ((,/             http://www.esva.net/~leo/