[
https://issues.apache.org/jira/browse/ARTEMIS-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870287#comment-16870287
]
Mark Raynsford commented on ARTEMIS-2396:
-----------------------------------------
This is a mistake on my part: If you run the ordinary "artemis" script, the
"user" option won't appear. However, if you run the script in the instance
directory, that has extra options such as "user". I think it still might be
worth noting this in the documentation somehow, because it's confusing to have
two scripts with the same name such that one has extra options.
> 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)