11.11. jaas:roleadd, roleadd

download PDF


adds a role to a user


jaas:roleadd [ --help ] { username } { role }


When editing a JAAS realm, the changes are buffered until the editing session is closed. When you add a new role using the jaas:roleadd command, the change is stored in the buffer and does not take effect until the editing session is closed.
The jaas:update command saves the changes and closes the editing session.
The jaas:cancel command clears the buffer without saving the changes and closes the editing session.


Table 11.11, “jaas:roleadd Arguments” describes the command's arguments.
Table 11.11. jaas:roleadd Arguments
--help Displays the online help for this command.
usernameSpecifies the name of the user to modify.
roleSpecifies the role which is appended to the user data.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.