Show Table of Contents
Chapter 11. JAAS Console Commands
The jaas commands are used for editing JAAS realm and user data. Editing a JAAS realm is done in two stages. The changes are placed in a queue until they are applied by executing the jaas:update.
When editing JAAS settings the commands are used as follows:
- Start the editing session.jaas:manage
- Edit the realm's user data.
- jaas:usersLists all of the users.
- jaas:useraddAdd a new user.
- jaas:userdelDelete a user.
- jaas:roleaddAdd a new role to a user.
- jaas:roledelDelete a role from a user.
- jaas:pendingLists all of the pending changes that have been made to the realms, but have not been applied to the container.
- Apply the changes to the JAAS realm and ends the editing session.jaas:update
You can abandon an editing session using jaas:cancel before the changes applied to the JAAS settings.
Type
jaas: then press Tab at the prompt to view the available commands.
11.1. jaas:cancel, cancel
Abstract
cancels a JAAS editing session without applying the pending changes
Synopsis
jaas:cancel [
--help
]
Details
When editing a JAAS realm, the changes are buffered until the editing session is closed. The jaas:cancel command clears the buffer without saving the changes and closes the editing session.
You can see a list of the buffered changes using the jaas:pending command.
Arguments
Table 11.1, “jaas:cancel Arguments” describes the command's arguments.
Table 11.1. jaas:cancel Arguments
| Argument | Interpretation |
|---|---|
--help | Displays the online help for this command |

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.