SRM 4.4.x: Zmienianie haseł w MySQL

Summary: Jeśli ze względów bezpieczeństwa konieczna jest zmiana hasła MySQL, zapoznaj się z instrukcją poniżej.

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

Zmienianie haseł w MySQL 4.4.x:   

KROK 1:   
Linux
Utwórz plik hostnames.conf tak jak poniżej i wprowadź następujące dane:   
Przykład:  #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
Przykład: 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
Uruchom skrypt 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. 
  • Uwaga: Jeśli zostało zmienione hasło główne, należy zmienić je na wszystkich serwerach przed próbą zmiany dla „apg”.
  • Uwaga: wykonaj powyższe kroki, aby zmienić domyślne hasło po dodaniu nowego serwera zaplecza. Zabezpieczanie bazy danych MySQL
Proces ten opisano w Instrukcji konfiguracji zabezpieczeń Dell EMC M&R na stronie 46.

Po zakończeniu zaloguj się do bazy danych MySQL przy użyciu nowego hasła za pomocą skryptu 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.