How to add mosquitto password on Ubuntu
Asked by
Tony DiCamillo
On Ubuntu 12.04.4 LTS, after mosquitto is installed using 'sudo apt-get install mosquitto', I go to /etc/mosquitto and try to add a password by entering the command 'mosquitto_passwd -c passwd myuser'. But mosquitto_passwd cannot be found.
In CentOS6, 'mosquitto_passwd -c passwd myuser' works correctly and creates a password file called "passwd" with a user called "myuser". I also found it a little odd that in CentOS6, /etc/mosquitto has a bunch of example files and a conf.d folder where the configuration needs to be added. Ubuntu only has the one mosquitto.conf file right at /etc/mosquitto/
Can the differences between the Ubuntu and CentOS versions be explained?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Roger Light
- Solved:
- Last query:
- Last reply:
To post a message you must log in.