How to create Management Users non-Interactively

Solution Verified - Updated -

Issue

  • Is there a way to setup a management user non-interactively?

  • The customer uses Ansible to setup the management users. Normally you do this by using the add-user.sh but this is interactive.

  • add-user.sh non-interactive for ManagementRealm is not working using the special character $ in password.

  • How do I create a user by running add-user.sh in silent mode ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content