此内容没有您所选择的语言版本。

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:
  1. Start the editing session.
    jaas:manage
  2. Edit the realm's user data.
    • jaas:users
      Lists all of the users.
    • jaas:useradd
      Add a new user.
    • jaas:userdel
      Delete a user.
    • jaas:roleadd
      Add a new role to a user.
    • jaas:roledel
      Delete a role from a user.
    • jaas:pending
      Lists all of the pending changes that have been made to the realms, but have not been applied to the container.
  3. 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
ArgumentInterpretation
--help Displays the online help for this command
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.