Show Table of Contents
11.11. jaas:roleadd, roleadd
Abstract
adds a role to a user
Synopsis
jaas:roleadd [
--help
] {
username
} {
role
}
Details
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.
Arguments
Table 11.11, “jaas:roleadd Arguments” describes the command's arguments.
Table 11.11. jaas:roleadd Arguments
| Argument | Interpretation |
|---|---|
--help | Displays the online help for this command. |
| username | Specifies the name of the user to modify. |
| role | Specifies the role which is appended to the user data. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.