企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 一、mosquitto.conf ``` listener 1883 password_file  /usr/lib/app/mosquitto/pwfile acl_file /usr/lib/app/mosquitto/aclfile ``` ## 二、创建用户密码 ``` mosquitto_passwd -c /usr/lib/app/mosquitto/pwfile rayframework ``` 连续两次输入密码、创建成功; 查看/usr/lib/app/mosquitto/pwfile会发现其中多了用户信息; ## 三、用户权限 pwfile文件中增加一段配置即可; ``` user rayframework topic write # topic read # ```