Search

Chapter 8. jaas

download PDF

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

Learn

Try, buy, & sell

Communities

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.