temporary password

How long is the temporary password assigned to user active until the user changes it?  Is there an expiration date , lets say 2 days where the temporary password will expire and need to be reset if the user doesn't change it? 

thanks

c