SRM 4.4.x: Jak změnit hesla MySQL

Summary: Pokud je z bezpečnostních důvodů nutné změnit heslo MySQL, přečtěte si níže uvedené pokyny.

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

Jak změnit hesla systému MySQL 4.4.x:   

KROK 1:   
Linux
Vytvořte soubor hostnames.conf podobný tomu níže uvedenému a zadejte následující příkazy:   
Příklad:  #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
Příklad: 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

KROK 2:    
Linux
Spusťte skript jako:   
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
  • 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 ]
  • Password changed for apg user and all configuration files updated in the backend. 
  • Poznámka: Pokud se heslo uživatele „root“ změní, změňte je na všech serverech, než se pokusíte provést změnu pro „apg“.
  • Poznámka: Chcete-li po přidání nového serveru backendu změnit výchozí heslo, postupujte podle výše uvedených kroků. Zabezpečení databáze MySQL
Tento postup je uveden v Průvodci konfigurací zabezpečení Dell EMC M&R na straně 46.

Po dokončení se přihlaste do databáze MySQL pomocí nového hesla a skriptu mysql-client.

Affected Products

SRM
Article 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.