How to reset admin password in VIP

Updated 5 months ago by Tim Chimes

Scope

VIP requires an administrative password for initial configuration, or if you need to make changes to the the unit later (such as NIC settings, domain name, or SSL certificate). If you need to reset your password, here is a procedure to do so.


Resetting the password

We've tested this with Ubuntu Desktop 20.04 and 22.04. The ISO is about 3GB, so you’ll need a 4GB or larger USB flash drive.
  • Download and run Universal USB Installer to make the bootable USB.

https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

  • Once the bootable USB drive is created, turn off the VIP Server, and plug in the bootable USB drive.
  • Press F11 while the unit boots up to enter the boot menu. Once in the boot menu, you should see something like this:

  • Select your USB device to boot from it.
In our example, the USB drive is called "General USB Flash Disk 1100", but yours might be called something different. The important note is that the USB device you want to boot from is NOT "ubuntu (P0: …)" or "debian (P0: …)" or "P0: 128GB SATA Flash"
  • While booting, you might see this screen. We used the first Boot option.

  • Once booted, open terminal and make the mount directory. To do this, enter the following at the prompt:

sudo mkdir /media/ubuntu

  • Then we mount the SSD to /media. To do this, enter the following command:

sudo mount /dev/dm-0 /media/ubuntu

  • Next, change the password for the admin account. Enter the following command:

sudo passwd --root /media/ubuntu admin

  • Power off your VIP Server appliance and remove the USB drive. Then boot your VIP Server appliance back up.
  • Once booted, you should now be able to login with your new password.


Let us know how we can help

If you have further questions on this topic or have ideas about improving this document, please contact us.


How did we do?