Hello!
What functionality you'd want from this to have, apart from the pass being 'one time' only? How's teh user gonna learn the pass, should it email (user, admin, anyone) it or it's gonna be notified by whoever assigned it manually(through other channels of communication possibly)? Should it keep track of passwords history(per user) and not allow for example teh same to be assigned again(by admin as a temp one again or by the user when chosing a pass)?
I am assuming that his own chosen pass would be dropped for this and not reassigned again after the temp one has expired, but it's not clear. Could you clarify on this specifically?
Regards,
Dobri