Resetting the serveradmin password

The serveradmin account is a system user account that is a preconfigured on IBM Spectrum® 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 Spectrum 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 Spectrum Protect Plus virtual appliance be rebooted.

For IBM Spectrum 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 Spectrum 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 Spectrum Protect Plus virtual appliance from the Actions menu by selecting Restart Guest OS.
  4. Launch the web console. During the restart, the boot loader will appear. There will be at least two CentOS versions displayed.
  5. Select the first CentOS version from the list and press the e key.
  6. Locate the line that begins with linux16 /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 Spectrum Protect Plus virtual appliance:
    :/# reboot
  15. Using secure shell (SSH) or the console, log in to the IBM Spectrum Protect Plus 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 Spectrum Protect Plus virtual appliance.
  19. Log in to IBM Spectrum Protect Plus using the serveradmin account with the newly created password to verify that the new password is set.

Results

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