Skip to content

mosquitto password documentation off #504

@the1gofer

Description

@the1gofer

the wiki says

To create a username and password, use the following as a template.

$ docker exec mosquitto mosquitto_passwd -b /mosquitto/pwfile/pwfile «username» «password»
Replace «username» and «password» with appropriate values, then execute the command.

when you use that command with the current image, you get

-bash: $: command not found

From what I gather whatever image that's based off doens't have bash. If you do
docker exec -it sh. then
mosquitto mosquitto_passwd -b /mosquitto/pwfile/pwfile «username» «password»
it seems to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions