Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过配置文件配置 #2721

Open
Newwbbie opened this issue Oct 31, 2024 · 1 comment
Open

通过配置文件配置 #2721

Newwbbie opened this issue Oct 31, 2024 · 1 comment

Comments

@Newwbbie
Copy link

File: /zh_CN/access-control/authn/mnesia.md

请问这里的配置文件位置在哪?

@Newwbbie
Copy link
Author

Newwbbie commented Oct 31, 2024

解决了:

修改/etc/emqx.conf,最后一行添加如下

authentication = [
    {
        backend = "built_in_database"
        mechanism = "password_based"
        password_hash_algorithm {
            name = "sha256",
            salt_position = "suffix"
        }
        user_id_type = "username"
    }
]

随后重启服务

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant