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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.