Show Table of Contents
6.7. Setting Gear Quotas and Sizes for Specific Users
Use the
oo-admin-ctl-user command to set individual user gear parameters to limit the number of gears a user is allowed, and change user access to gear sizes.
On the broker host, display gear information for a user with the following command. Replace
username with the relevant user name:
# oo-admin-ctl-user -l username
Example 6.9.
# oo-admin-ctl-user -l user
User user:
consumed gears: 3
max gears: 100
gear sizes: small
On the broker host, limit the number of gears a user is allowed with the following command. Replace
username with the relevant user name and 101 with the desired number of gears:
# oo-admin-ctl-user -l username --setmaxgears 101
Example 6.10. Limiting a User's Number of Gears
# oo-admin-ctl-user -l user --setmaxgears 101
Setting max_gears to 101... Done.
User user:
consumed gears: 3
max gears: 101
gear sizes: small
On the broker host, add a gear size for a user with the following command. Replace
username with the relevant user name and medium with the desired gear size:
# oo-admin-ctl-user -l username --addgearsize medium
Example 6.11. Enabling a Gear Size For a User
# oo-admin-ctl-user -l user --addgearsize medium
Adding gear size medium for user user... Done.
User user:
consumed gears: 3
max gears: 101
gear sizes: small, medium
On the broker host, remove a gear size from a user with the following command. Replace
username with the relevant user name and medium with the desired gear size:
# oo-admin-ctl-user -l username --removegearsize medium
Example 6.12. Removing a Gear Size For a User
# oo-admin-ctl-user -l user --removegearsize medium
Removing gear size medium for user user... Done.
User user:
consumed gears: 3
max gears: 101
gear sizes: small

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.