title: How to add a user to PostgreSQL from the Ubuntu command line?
body: <p>I want to add a user and give the <code>createdb</code> permission to it in the PostgreSQL from a Ubuntu command line! I know this can be done by going inside consul and run this:</p>
  
  <pre><code>ALTER USER joe CREATEDB
  </code></pre>
  
  <p>But I want to do it from Ubuntu command line!</p>