Problem Implementing Mosquitto User/Password

I have recently loaded Home Assistant in Docker running on Ubuntu. Struggling to implement Mosquitto. Mosquitto appears to have loaded, and I can see it in Portainer. Attempting to add User/Password for security.
Within Portainer, there is a ‘console’. I issue the command…

‘mosquitto_passwd –c /mosquitto/config/password.txt hass’

The system responds with text instructing me on the use of ‘mosquitto_passwd’, but does not provide a hint about what is wrong. I did note on the forum that the user name is ‘fixed’? Do I need to edit the command with a specific ‘user name’?

[Solved]
Never mind. I manually created ‘password.txt’, and ran the command line again (this time typing it in by hand - not copy/paste). It worked. I believe all is well again. I still have the residual question regarding the ‘user name’.
Thanks,
Grizz952