SRM 4.4.x:MySQLのパスワードを変更する方法
Summary: セキュリティ上の理由でMySQLのパスワードを変更する必要がある場合は、以下の手順を参照してください。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
MySQLパスワード4.4.xを変更する方法:
手順1:
Linux
次のようなhostnames.confファイルを作成して、次のように入力します。
例: #cat opt\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
例:dir program files\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
手順2:
Linux
スクリプトを次のように実行します。
xxxxxx:/opt/APG/bin # ./launch-update-backend-passwords.sh -c /opt/APG/hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
xxxxxx: \program files\APG\bin launch-update-backend-passwords.cmd -c program files \APG\hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
完了したら、mysql-clientスクリプトで新しいパスワードを使用してMySQLデータベースにログインします。
手順1:
Linux
次のようなhostnames.confファイルを作成して、次のように入力します。
例: #cat opt\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
例:dir program files\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
手順2:
Linux
スクリプトを次のように実行します。
xxxxxx:/opt/APG/bin # ./launch-update-backend-passwords.sh -c /opt/APG/hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Windows
xxxxxx: \program files\APG\bin launch-update-backend-passwords.cmd -c program files \APG\hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Updating...
Flushing Privileges
Flushing Privileges
- Stopping 'webservice-gateway Default'...
- Stopping 'webservice-gateway Default'... [ OK ]
- Starting 'webservice-gateway Default'...
- Starting 'webservice-gateway Default'... [ OK ]
- Stopping 'compliance-backend generic-compliance'...
- Stopping 'compliance-backend generic-compliance'... [ OK ]
- Starting 'compliance-backend generic-compliance'...
- Starting 'compliance-backend generic-compliance'... [ OK ]
- apgユーザーのパスワードが変更され、すべての構成ファイルがバックエンドでアップデートされました。
- メモ:「root」パスワードを変更する場合は、「apg」の変更を行う前にすべてのサーバーの設定を変更してください。
- メモ:新しいバックエンド サーバーの追加後に、デフォルトのパスワードを変更するには上記の手順を実行します。MySQLデータベースの保護
完了したら、mysql-clientスクリプトで新しいパスワードを使用してMySQLデータベースにログインします。
Affected Products
SRMArticle Properties
Article Number: 000181868
Article Type: How To
Last Modified: 18 Aug 2021
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.