title: Change Oracle User Password Expiry Date
body: <p>I have got oracle User Password Expiry date using,</p>
  
  <p><code>Select Expiry_date from USER_USERS;</code></p>
  
  <p>I want to throw a warning message when Password is about to expire. </p>
  
  <p>Currently my password is not expiring soon. I want to change the Expiry date to prior date, So that I can test my code.</p>
  
  <p>My user account password should be about to Expire. i.e. I want to get <code>ORA-28002</code> ERROR.</p>
  
  <p>I tried using 
  <code>alter user XYZ password expire;</code></p>
  
  <p>This sets my user <code>ACCOUNT_STATUS</code> to <code>EXPIRED</code> state but I want it to be in <code>EXPIRED(GRACE)</code> status.</p>
  
  <p>Please suggest any possible method.</p>