Allow anonymouse (for testing)

This commit is contained in:
Joey Hafner 2024-02-26 16:26:17 -08:00
parent 37cb5ffc30
commit 2205e3f860

View File

@ -427,7 +427,7 @@ listener 1883 0.0.0.0
# subscriptions, currently in-flight messages and retained # subscriptions, currently in-flight messages and retained
# messages. # messages.
# retained_persistence is a synonym for this option. # retained_persistence is a synonym for this option.
#persistence false persistence true
# The filename to use for the persistent database, not including # The filename to use for the persistent database, not including
# the path. # the path.
@ -437,7 +437,7 @@ listener 1883 0.0.0.0
# Default is an empty string (current directory). # Default is an empty string (current directory).
# Set to e.g. /var/lib/mosquitto if running as a proper service on Linux or # Set to e.g. /var/lib/mosquitto if running as a proper service on Linux or
# similar. # similar.
#persistence_location persistence_location /mosquitto/data/
# ================================================================= # =================================================================
@ -470,7 +470,8 @@ listener 1883 0.0.0.0
# Note that if the broker is running as a Windows service it will default to # Note that if the broker is running as a Windows service it will default to
# "log_dest none" and neither stdout nor stderr logging is available. # "log_dest none" and neither stdout nor stderr logging is available.
# Use "log_dest none" if you wish to disable logging. # Use "log_dest none" if you wish to disable logging.
#log_dest stderr log_dest stdout
log_dest file /mosquitto/log/mosquitto.log
# Types of messages to log. Use multiple log_type lines for logging # Types of messages to log. Use multiple log_type lines for logging
# multiple types of messages. # multiple types of messages.
@ -531,7 +532,7 @@ listener 1883 0.0.0.0
# Defaults to false, unless there are no listeners defined in the configuration # 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 # file, in which case it is set to true, but connections are only allowed from
# the local machine. # the local machine.
allow_anonymous false allow_anonymous true
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# Default authentication and topic access control # Default authentication and topic access control