[
https://issues.apache.org/jira/browse/ARTEMIS-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870225#comment-16870225
]
Mark Raynsford edited comment on ARTEMIS-2396 at 6/22/19 12:41 PM:
-------------------------------------------------------------------
The documentation should probably say something along the lines of:
To create a hashed password suitable for use in artemis-users.properties, use
the "artemis mask" command:
{noformat}
# ./artemis mask --hash notapassword
result:
1024:0237D2826C84703B4C230470C92B4C9A3A9943C893BCB29E1BD30CA062F47BB0:8DD6897AEE46C319C079AB822A899763D13C8F3405A02A60FD388209F9DB1122565320EAE11F0260D4272FCDC95E010E0BA21DBA3288576A5F3E670FA0292706
{noformat}
was (Author: io7m):
The documentation should probably say something along the lines of:
To create a hashed password suitable for use in artemis-users.properties, use
the "artemis mask" command:
{noformat}
# ./artemis mask --hash notapasswordresult:
1024:0237D2826C84703B4C230470C92B4C9A3A9943C893BCB29E1BD30CA062F47BB0:8DD6897AEE46C319C079AB822A899763D13C8F3405A02A60FD388209F9DB1122565320EAE11F0260D4272FCDC95E010E0BA21DBA3288576A5F3E670FA0292706
{noformat}
> Correct documentation on how to add users
> -----------------------------------------
>
> Key: ARTEMIS-2396
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2396
> Project: ActiveMQ Artemis
> Issue Type: Task
> Components: Broker
> Reporter: Mark Raynsford
> Priority: Major
>
> The current documentation on the properties login module:
> https://github.com/apache/activemq-artemis/blob/af56b67e38a578993c6fe3873387909e9645b4d5/docs/user-manual/en/security.md#propertiesloginmodule
> The documentation says that to add a user with a hashed password, you execute:
> {noformat}
> ./artemis user add --username guest --password guest --role admin
> {noformat}
> This is false. There is no such command-line argument:
> {noformat}
> # ./artemis user
> Found unexpected parameters: [user]
> {noformat}
> Unfortunately, the documentation also neglects to mention any other way to
> create users.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)