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, 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