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

Chapter 8. jaas


8.1. jaas:cancel

8.1.1. Description

Cancel the modification of a JAAS realm

8.1.2. Syntax

jaas:cancel [options]

8.1.3. Options

NameDescription

--help

Display this help message

8.2. jaas:group-add

8.2.1. Description

Make a user part of a group

8.2.2. Syntax

jaas:group-add [options] username group

8.2.3. Arguments

NameDescription

username

Username

group

Group

8.2.4. Options

NameDescription

--help

Display this help message

8.3. jaas:group-create

8.3.1. Description

create a group in a realm

8.3.2. Syntax

jaas:group-create [options] group

8.3.3. Arguments

NameDescription

group

Group

8.3.4. Options

NameDescription

--help

Display this help message

8.4. jaas:group-delete

8.4.1. Description

Remove a user from a group

8.4.2. Syntax

jaas:group-delete [options] username group

8.4.3. Arguments

NameDescription

username

Username

group

Group

8.4.4. Options

NameDescription

--help

Display this help message

8.5. jaas:group-list

8.5.1. Description

List groups in a realm

8.5.2. Syntax

jaas:group-list [options]

8.5.3. Options

NameDescription

--help

Display this help message

8.6. jaas:group-role-add

8.6.1. Description

Add a role to a group

8.6.2. Syntax

jaas:group-role-add [options] group role

8.6.3. Arguments

NameDescription

group

Group

role

Role

8.6.4. Options

NameDescription

--help

Display this help message

8.7. jaas:group-role-delete

8.7.1. Description

Remove a role from a group

8.7.2. Syntax

jaas:group-role-delete [options] group role

8.7.3. Arguments

NameDescription

group

Group

role

Role

8.7.4. Options

NameDescription

--help

Display this help message

8.8. jaas:pending-list

8.8.1. Description

List the pending modification on the active JAAS Realm/Login Module

8.8.2. Syntax

jaas:pending-list [options]

8.8.3. Options

NameDescription

--help

Display this help message

8.9. jaas:realm-list

8.9.1. Description

List JAAS realms

8.9.2. Syntax

jaas:realm-list [options]

8.9.3. Options

NameDescription

--help

Display this help message

-h, --hidden

Show hidden realms

--no-format

Disable table rendered output

8.10. jaas:realm-manage

8.10.1. Description

Manage users and roles of a JAAS Realm

8.10.2. Syntax

jaas:realm-manage [options]

8.10.3. Options

NameDescription

-h, --hidden

Manage hidden realms

--help

Display this help message

--realm

JAAS Realm

-f, --force

Force the management of this realm, even if another one was under management

--index

Realm Index

--module

JAAS Login Module Class Name

8.11. jaas:role-add

8.11.1. Description

Add a role to a user

8.11.2. Syntax

jaas:role-add [options] username role

8.11.3. Arguments

NameDescription

username

User Name

role

Role

8.11.4. Options

NameDescription

--help

Display this help message

8.12. jaas:role-delete

8.12.1. Description

Delete a role from a user

8.12.2. Syntax

jaas:role-delete [options] username role

8.12.3. Arguments

NameDescription

username

User Name

role

Role

8.12.4. Options

NameDescription

--help

Display this help message

8.13. jaas:su

8.13.1. Description

Substitute user identity

8.13.2. Syntax

jaas:su [options] [user]

8.13.3. Arguments

NameDescription

user

Name of the user to substitute (defaults to karaf)

8.13.4. Options

NameDescription

--help

Display this help message

--realm

 

8.14. jaas:sudo

8.14.1. Description

Execute a command as another user

8.14.2. Syntax

jaas:sudo [options] [command]

8.14.3. Arguments

NameDescription

command

 

8.14.4. Options

NameDescription

--help

Display this help message

--realm

 

--user

 

8.15. jaas:update

8.15.1. Description

Apply pending modification on the edited JAAS Realm

8.15.2. Syntax

jaas:update [options]

8.15.3. Options

NameDescription

--help

Display this help message

8.16. jaas:user-add

8.16.1. Description

Add a user

8.16.2. Syntax

jaas:user-add [options] username password

8.16.3. Arguments

NameDescription

username

User Name

password

Password

8.16.4. Options

NameDescription

--help

Display this help message

8.17. jaas:user-delete

8.17.1. Description

Delete a user

8.17.2. Syntax

jaas:user-delete [options] username

8.17.3. Arguments

NameDescription

username

User Name

8.17.4. Options

NameDescription

--help

Display this help message

8.18. jaas:user-list

8.18.1. Description

List the users of the selected JAAS realm/login module

8.18.2. Syntax

jaas:user-list [options]

8.18.3. Options

NameDescription

--help

Display this help message

--no-format

Disable table rendered output

8.19. jaas:whoami

8.19.1. Description

List currently active principals according to JAAS.

8.19.2. Syntax

jaas:whoami [options]

8.19.3. Options

NameDescription

--help

Display this help message

--no-format

Disable table rendered output.

-g, --groups

Show groups instead of user.

-a, --all

Show all JAAS principals regardless of type.

-r, --roles

Show roles instead of user.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.