Check out the info on this message at
DBforums.com - then look at the format of
prpasswd
You will be interested in this:
u_max_login_intvl
A numeric value representing the maximum time, in seconds, since
last successful login before account is disabled. If set for an
account (or system-wide), the user is automatically considered
"locked out" if the last successful login was more than the
specified interval before the current time. As with other
is_locked_out() checks, the grace-period feature allows an over-
ride.
You will need to use a programming language (Perl works) to look at the interval of last login to today's date.