Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过某种配置文件更改 Wildfly 的管理领域的密码?我有点丢了密码(我的 Firefox LastPass 插件有点搞砸了)。如果有,怎么做?
默认情况下,密码存储在
$WILDFLY_HOME/standalone/configuration/mgmt-users.properties
但密码是散列的。您可以做的最好的事情是删除您想要的用户,然后通过您可以在 bin 文件夹中找到的 add-user.sh/.bat 脚本重新添加它。
如果您使用的是 WildFly,add-user 实用程序能够替换现有密码,只需为具有相同用户名的用户再次运行它,它就会为您提供替换密码的选项。