title: Postgresql: Edit pg_hba.conf to allow trust authorization temporarily
body: <p>I Forgot my postgres password so I can't connect to the DB, I found those steps :</p>
  
  <pre><code>1. edit pg_hba.conf to allow trust authorization temporarily
   2. Reload the config file (pg_ctl reload)
   3. Connect and issue ALTER ROLE / PASSWORD to set the new password
   4. edit pg_hba.conf again and restore the previous settings
   5. Reload the config file again
  </code></pre>
  
  <p>I'm trying to follow but I'm stuck at step one. 
  What should I change in pg_hba.conf to allow trust authorization temporarily. </p>