このコンテンツは選択した言語では利用できません。

3.3. Removing User Data


Remove a former user's application and domain data if they are no longer required.

Warning

The following procedure removes all of a user's application data from the system and cannot be reversed.

Procedure 3.2. To Remove User Data:

  1. Prevent the user from creating more gears by running the following command on the broker host:
    # oo-admin-ctl-user -l username --setmaxgears 0oo-admin-ctl-user -l username --setmaxgears 0oo-admin-ctl-user -l username --setmaxgears 0
    Copy to Clipboard Toggle word wrap
  2. Retrieve the user's domain and application names:
    # oo-admin-ctl-domain -l username | egrep -i '^name:|^Namespace:'oo-admin-ctl-domain -l username | egrep -i '^name:|^Namespace:'oo-admin-ctl-domain -l username | egrep -i '^name:|^Namespace:'
    Copy to Clipboard Toggle word wrap
  3. Remove the user's applications by running the following commands for each application found in the previous step:
    # oo-admin-ctl-app -l username -a app1 -c stopoo-admin-ctl-app -l username -a app1 -c stopoo-admin-ctl-app -l username -a app1 -c stopoo-admin-ctl-app -l username -a app1 -c stopoo-admin-ctl-app -l username -a app1 -c stop
    # oo-admin-ctl-app -l username -a app1 -c destroyoo-admin-ctl-app -l username -a app1 -c destroyoo-admin-ctl-app -l username -a app1 -c destroyoo-admin-ctl-app -l username -a app1 -c destroyoo-admin-ctl-app -l username -a app1 -c destroy
    Copy to Clipboard Toggle word wrap
    Use the force-destroy parameter to remove particularly troublesome applications:
    # oo-admin-ctl-app -l username -a app1 -c force-destroyoo-admin-ctl-app -l username -a app1 -c force-destroyoo-admin-ctl-app -l username -a app1 -c force-destroyoo-admin-ctl-app -l username -a app1 -c force-destroyoo-admin-ctl-app -l username -a app1 -c force-destroy
    Copy to Clipboard Toggle word wrap
  4. Delete the user's domain:
    # oo-admin-ctl-domain -l username -c delete -n testdomainoo-admin-ctl-domain -l username -c delete -n testdomainoo-admin-ctl-domain -l username -c delete -n testdomainoo-admin-ctl-domain -l username -c delete -n testdomain
    Copy to Clipboard Toggle word wrap
The user's application data is now removed and the user cannot create any new applications; the account is effectively deactivated.
To reactivate a user's account, set the maximum amount of gears to a desired amount. Note that the --setmaxgears option may be restricted based on the user's configuration settings:
# oo-admin-ctl-user -l username --setmaxgears 5oo-admin-ctl-user -l username --setmaxgears 5oo-admin-ctl-user -l username --setmaxgears 5
Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat