How to delete $local user from SuperUser role with CLI command when RBAC is activated ?

Solution Verified - Updated -

Issue

  • By default there is $local user is present for SuperUser role.
            <role-mapping>
                <role name="SuperUser">
                    <include>
                        <user name="$local"/>
                    </include>
                </role>
            </role-mapping>
  • As it advisable that to remove the $local account but I am not able to remove it through cli command when rbac is enabled.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.0

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.