Got it

How to modify the ossadm password

Created: Jul 15, 2020 03:25:43Latest reply: Feb 26, 2022 15:30:52 1410 6 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hello, team!

Our ManageOne upgrade failed from the FCU tools.

failed to upgrade

I check from the upgrade logs that all the ManageOne VMs ossadm user password have expired.

upgrade logs

So how can I change the ossadm password?

Thanks in advance!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Jul 15, 2020 03:33:32

Hello, Lisa!

For the rootossuserdbuserossadm, 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 meteradmintaskfileadminautoopsadmin, 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!

View more
  • x
  • convention:

user_4237671
user_4237671 Created Oct 7, 2021 02:48:07 (0) (0)
 
user_4397771
user_4397771 Created Feb 26, 2022 13:18:55 (0) (0)
good  
All Answers
stephen.xu
stephen.xu Admin Created Jul 15, 2020 03:28:34

Hello,lisali.

Please wait for a minute.

We are working on your question.
View more
  • x
  • convention:

olive.zhao
olive.zhao Admin Created Jul 15, 2020 03:33:32

Hello, Lisa!

For the rootossuserdbuserossadm, 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 meteradmintaskfileadminautoopsadmin, 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!

View more
  • x
  • convention:

user_4237671
user_4237671 Created Oct 7, 2021 02:48:07 (0) (0)
 
user_4397771
user_4397771 Created Feb 26, 2022 13:18:55 (0) (0)
good  
user_4397771
user_4397771 Created Feb 26, 2022 13:19:02

nice
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Feb 26, 2022 15:30:52

nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.