[ 
https://issues.apache.org/jira/browse/ARTEMIS-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870369#comment-16870369
 ] 

Justin Bertram commented on ARTEMIS-2396:
-----------------------------------------

bq: This is false. There is no such command-line argument

As you noted in a follow-up comment, the command needs to be run from the 
instance rather than the home. I've sent a PR to clarify this in the "Security" 
chapter as well as reorganize and clarify a lot of the "Masking Passwords" 
chapter.

bq. Unfortunately, the documentation also neglects to mention any other way to 
create users.

Just to be clear, there's nothing special required to create users for the 
{{PropertiesLoginModule}}. The documentation you linked outlines the syntax of 
both the users and roles properties files and demonstrates how you can create 
users.

> 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: Minor
>
> 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)

Reply via email to