title: How to reset password for Shield in Elasticsearch
body: <p>Context: Setting up Shield on my local machine for a 1 node Elasticsearch</p>
  
  <p>Machine: Mac OSX 10.9.5</p>
  
  <p>After installing Shield, I tried adding admin users but failed to do so because initially I did not restart my ES. During this attempt, I tried a bunch of username and password combinations(<strong><em>My bad here</em></strong>). </p>
  
  <p>After I was pointed out that I had to restart ES before creating any users, I did so. Now, everytime I open <code>localhost:9200</code> on my browser, I am required to provide a username and password.</p>
  
  <p>I have tried most of the combinations that I 'attempted' to create earlier, but non seems to be the right one.</p>
  
  <p>Upon running the <code>bin/shield/users</code>, it shows that I have one user which is my machine name. Tried again a bunch of possible passwords that I could think of, but nothing seems to be the right one. Below is the error I'm getting</p>
  
  <blockquote>
    <p>{"error":"AuthenticationException[unable to authenticate user [username]
    for REST request [/_shield]]","status":401}</p>
  </blockquote>
  
  <p>So, any idea on how I could reset the password or the delete the user entirely ??</p>