> The only way I could come up with to create a user with an expired
> account, is to change the date of the last password change to the
> lowest value possible (January 1th 1970), and the maximum password age
> to the difference in days between that date and today.

A simpler way is to just use passwd(1):

       -e, --expire
           Immediately expire an account´s password. This in effect can force
           a user to change his/her password at the user´s next login.

-jim


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to