title: How to set username/password mosquitto?
body: <p>I used the <code>mosquitto_passwd</code> command to create a password file.</p>
  
  <pre><code>mosquitto_passwd /etc/mosquitto/passwd admin
  </code></pre>
  
  <p>I added the path to my password file in <code>mosquitto.conf</code>: </p>
  
  <pre><code>password_file /etc/mosquitto/passwd
  </code></pre>
  
  <p>But when i subscribe or publish it doesn't require username/password?</p>
  
  <pre><code>mosquitto_sub  -t '#' -d
  Client mosqsub/19032-Dell sending CONNECT
  Client mosqsub/19032-Dell received CONNACK
  Client mosqsub/19032-Dell sending SUBSCRIBE (Mid: 1, Topic: #, QoS: 0)
  Client mosqsub/19032-Dell received SUBACK
  Subscribed (mid: 1): 0
  </code></pre>
  
  <p>What did I miss?</p>