Explicitly set location of passwd file in config

This commit is contained in:
Joey Hafner 2024-02-26 12:49:26 -08:00
parent 166db7e6f0
commit 37cb5ffc30

View File

@ -531,7 +531,7 @@ listener 1883 0.0.0.0
# Defaults to false, unless there are no listeners defined in the configuration
# file, in which case it is set to true, but connections are only allowed from
# the local machine.
#allow_anonymous false
allow_anonymous false
# -----------------------------------------------------------------
# Default authentication and topic access control
@ -549,7 +549,7 @@ listener 1883 0.0.0.0
# See the TLS client require_certificate and use_identity_as_username options
# for alternative authentication options. If a plugin is used as well as
# password_file, the plugin check will be made first.
#password_file
password_file /mosquitto/config/mosquitto.passwd
# Access may also be controlled using a pre-shared-key file. This requires
# TLS-PSK support and a listener configured to use it. The file should be text