Skip to content

Commit

Permalink
Update hardware_projects.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanStS committed Oct 4, 2023
1 parent e179c0b commit 08a0085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/software/hardware_projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ MQTT provides a lightweight method of carrying out messaging using a publish/sub
- Config file: `/etc/mosquitto/mosquitto.conf`
- Password file: `/etc/mosquitto/passwd`

To change the default authentication password for the `dietpi` user, run the following command:
To change the default authentication password for the `mosquitto` user, run the following command:

```sh
mosquitto_passwd /etc/mosquitto/passwd mosquitto
Expand All @@ -307,7 +307,7 @@ MQTT provides a lightweight method of carrying out messaging using a publish/sub
To create a new authentication user, run the following command:

```sh
mosquitto_passwd /etc/mosquitto/passwd
mosquitto_passwd /etc/mosquitto/passwd <new_user_name>
```

After changes have been done, you need to restart the service:
Expand Down

0 comments on commit 08a0085

Please sign in to comment.