Hello, Lisa!
For the root, ossuser, dbuser, ossadm, and sopuser users, run the passwd command to change the password that is about to expire. For example, to change the password of the ossuser user, run the following command:
passwd ossuser
When the following information is displayed, enter the new password as prompted and confirm the new password:
Changing password for user ossuser.
New password:
Retype new password:
If you want to change the password to the default password, perform the following operations:
a. Run the following command to log in to the VM:
ssh username@IP
username indicates the account whose password is to be changed. IP indicates the IP address of the node where the account is located.
b. Run the following command to switch to the root user:
sudo su - root
The default password is Changeme_123.
c. Run the following command to clear the old passwords:
true>/etc/security/opasswd
d. Run the following command to change the password to the default password:
passwd username
For the meteradmin, taskfileadmin, autoopsadmin, and logctadm users, change the password validity period to prevent service unavailability due to password expiration. Changing the passwords of these users will affect services because these users are involved in interactions with other service components. You are advised to set the password to be permanently valid.
For example, run the following command to change the password of the meteradmin user to be permanently valid:
chage -M 180 meteradmin
180 indicates that the current validity period is 180 days. 99999 indicates that the password is permanently valid.
If you want to know more information, please check the following link:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100105336&id=MO_alarm_SysM_000009&lang=en
Hope can help you!