I’m trying to setup Eclipse Mosquitto. It is installed but there doesn’t seem to be any Truenas-documentation on how to add username and password to the configuration for clients. Elsewhere it give commands to run to create the user password file, but they all seem to assume running these commands as root. the app shell is user 568.
No sudo,
su: must be suid to work properly
so I’m stuck at a command prompt with no idea how to setup non-anonymous mqtt. I googled for an hour without luck. I know others have done this, so I must have lost my mind.
Same issue here. Eclipse-Mosquitto runs when I create a config file with the entry
allow_anonymous true
log_dest stdout
With that, I can access MQTT via MQTT Explorer with no login credentials. However, for Zigbee2MQTT, I need to fill in credentials in the setup process. Now I struggle to define a password and username in Eclipse-Mosquitto which I need for Zigbee2MQTT: