New User Password for Embedded MQTT Server Rejecting

Hey guys,

Trying to create a couple of users to increase security for my MQTT server.

I am running HA on a RasPi using the Python virtual environment.

Looks like Mosquito autostarts as found by:

 ps aux | grep mos
mosquit+   451  0.1  0.4   5524  3836 ?        S    12:57   0:00 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf 

Then using sudo on the Pi I did:

sudo mosquitto_passwd -c /etc/mosquitto/pwfile test
Password: test
Reenter password: test

Apparently, you need to run:

sudo /sbin/ldconfig

Lastly, I restarted the RasPi, and on reboot, on my laptop I run:

mosquitto_sub -h 192.168.0.50 -t '#' -u test -P test
Connection Refused: not authorised.
Connection Refused: not authorised.

Is there something I have done wrong, or should be doing?