Resetting the serveradmin password

The serveradmin account is a system user account that is a preconfigured on IBM Storage® Protect Plus and vSnap server. It is used to manage both of the virtual appliances. If you forget the serveradmin password, you must use the root account to reset the password. Because the password for the root account is not provided for deployments of IBM Storage Protect Plus or vSnap server, you must reset the root password and then reset the serveradmin through the virtual console.

About this task

Changing the root password will require that the IBM Storage Protect Plus virtual appliance be rebooted.

For IBM Storage Protect Plus, the preferred method is to avoid using the root account and instead use the serveradmin account for administration purposes.

Important: Pick a strong password that is a minimum of 15 characters in length and must contain at least one character from each of the classes (numbers, uppercase letters, lowercase letters, and other).

Procedure

  1. Prepare to restart the IBM Storage Protect Plus virtual appliance by pausing all scheduled jobs. Then, wait for any running jobs to be completed.
    Important: By ensuring that no jobs are running when you shut down the virtual appliance, you help to prevent possible issues.
  2. Log in to the vSphere Client.
  3. Restart the IBM Storage Protect Plus or vSnap server virtual appliance from the Actions menu by selecting Restart Guest OS.
  4. Launch the web console. During the restart, the boot loader will appear.
  5. Select the Red Hat Enterprise Linux (RHEL) 9.5 version from the list and press the e key.
  6. Locate the line that begins with linux /vmlinuz. In that line, locate ro.
  7. Replace ro with the following string:
    rw init=/sysroot/bin/sh
  8. Press Ctrl + X to start in single user mode. A prompt appears.
  9. Enter the chroot command:
    :/# chroot /sysroot
  10. Initiate the password change for the root account:
    :/# passwd root
  11. Enter the new password for the root account. You will be prompted to enter the password a second time.
  12. Update the Security-Enhanced Linux parameters:
    :/# touch /.autorelabel
  13. Exit the current context with the exit command:
    :/# exit
  14. Restart the IBM Storage Protect Plus or vSnap server virtual appliance:
    :/# reboot
  15. Using secure shell (SSH) or the console, log in to the IBM Storage Protect Plus or vSnap server virtual appliance with the username root and the password that was created in a previous step.
  16. Change the serveradmin password with the passwd command at the prompt:
    :/# passwd serveradmin
  17. Enter the new password for the serveradmin account. You will be prompted to enter the password a second time.
  18. Close the SSH session to the IBM Storage Protect Plus or vSnap server virtual appliance.
  19. Log in to IBM Storage Protect Plus or vSnap server using the serveradmin account with the newly created password to verify that the new password is set.
  20. For vSnap servers only: Run the following command to re-sync the SMB/CIFS password with the new system password. When prompted to enter the password, specify the newly created password for the serveradmin account.
    vsnap user resyncsmbpass --username serveradmin

Results

The root and serveradmin account passwords for the IBM Storage Protect Plus or vSnap server virtual appliance will be reset to the specified password.